Developer/iOS

NSNumber 활용법

블로blow 2011. 5. 24. 09:38
728x90
int값을 NSNumber로
NSNumber *number = [NSNumber numberWithInt:10];

NSNumber를 int로
int intnub = [number intValue];
728x90