Home Answers Viewqa Mobile-Applications How to convert NSString to NSInteger?

 
 


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

Hi,

Provide me code to convert NSString into NSInteger.

Thanks

View Answers

December 21, 2010 at 3:59 PM


Hi,

Use the following code example:

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

Thanks









Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.