Quote:
Originally Posted by loddy1234
Is there a way to convert an int to an NSInteger?
please can somone post some example code as i am new to obj c. 
thanks in advance
|
Not sure if I understand your question...but,
You simply declare it.
NSInteger can hold an int value or a long value.
If the name of your variable is myInteger...then declare it like this.
Code:
NSInteger myInteger;
That will receive an "int" value.