i want to convert to convert nsstring
to integer
in objective-c
can anybody help me in solving out this problem.
try this may work for you :
NSString *str = @"42";
int x = [str intValue];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With