iDev

NSInteger to NSString in Obj-C

KraZYeom 2009. 1. 14. 21:07
반응형
NSString String = [NSString stringWithFormat:@"%d", myInt];

[string intValue]     String to int
[string floatValue]  String to float

계속 되고 있는 삽질.
간단한 문법부터 너무나 다르구나.


반응형