--- 博客已迁移至: http://www.sealyu.com/blog
Convert NSString to int
1
NSString
*aNumberString =
@"123"
;
2
int
i = [aNumberString intValue];
Convert int to NSString
aNumber = 123;
*aString = [
stringWithFormat:
@"%d"
, aNumber];
Powered by: BlogJava Copyright © seal