I came across this some time
Monday, June 21, 2010
string to int,int to string iphone
string to int
intValue will give you an int
If you want an NSInteger
[mynsstring integerValue];
See here
int to string
NSString *myString = [NSString stringWithFormat:@"%d", myInt]
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment