SORU
1 Aralık 2009, Salı


Objective-C NSString için NSArray dönüştürmek

Objective-C Otomasyon Bir örnek, bir dize 2* *bir NSArray dönüştürmek nasıl merak ediyorum:

set the_array to {1,"Two", 3,4,5,6}
set the_array to the_array as string

CEVAP
1 Aralık 2009, Salı


NSString * result = [[array valueForKey:@"description"] componentsJoinedByString:@""];

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • LearnCode.academy

    LearnCode.ac

    20 Aralık 2012
  • MrSuicideSheep

    MrSuicideShe

    9 NİSAN 2010
  • schmittastic

    schmittastic

    9 EYLÜL 2009