SORU
25 Kasım 2009, ÇARŞAMBA


Nasıl veri NSString için NSİnteger dönüştürebilirim?

Nasıl bir NSString öksüz NSInteger dönüştürme mu?

Ay NSInteger bulunduğu aşağıdaki denedim:

  NSString *inStr = [NSString stringWithFormat:@"%d", [month intValue]];

CEVAP
21 NİSAN 2013, Pazar


N-C yolu =):

NSString *inStr = [@(month) stringValue];

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

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Julian Smith

    Julian Smith

    31 EKİM 2006
  • Numberphile

    Numberphile

    15 EYLÜL 2011
  • Sarah's YouTube Channel

    Sarah's YouT

    27 Temmuz 2009