Deepak Kumar
How to convert NSString to NSInteger?
1 Answer(s)      4 years and 4 months ago
Posted in : MobileApplications

Hi,

Provide me code to convert NSString into NSInteger.

Thanks

Advertisement
View Answers

December 21, 2010 at 3:59 PM


Hi,

Use the following code example:

NSString * s= @"100";
NSInteger i = [s intValue];

Thanks