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

  • Christopher Bill

    Christopher

    30 NİSAN 2009
  • David MeShow

    David MeShow

    10 EKİM 2006
  • Lena Danya

    Lena Danya

    11 NİSAN 2010