int x = [my1 intValue]; int y = [my2 intValue]; int sum = x+y; //myT = [NSString stringWithFormat:@"%d", sum]; myT = [[NSNumber numberWithInt:sum] stringValue]; if(myT==@"10" || myT==@"11" || myT==@"12") action = @"numGreaterThanNine";
How to convert from int to string in objective c
最新推荐文章于 2015-06-26 02:53:00 发布
本文深入探讨了Objective-C与Swift在iOS开发领域的应用与对比,旨在为开发者提供选择合适的编程语言的指南。
1663

被折叠的 条评论
为什么被折叠?



