please tell me that can we create an array of imteger in objective c
i am a new iphone programmer and i am creating an aray which can take an integer from a view (at 0th position)and pass that array to next view and then again put an integer to it (at 1st position) and so on….
please help
because it does not accept integer value
please tell me that can we create an array of imteger in objective c
Share
You can only store objects in
NSArrays, not primitives (likeint,float,NSInteger, etc.), which is probably what you’re trying. UseNSNumberinstead.