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

  • hans peder sahl

    hans peder s

    22 Temmuz 2009
  • POGProductionz

    POGProductio

    27 NİSAN 2012
  • Skrillex

    Skrillex

    6 NİSAN 2010