Hey everyone,
I'm having and issue trying to store data into an NSInteger from one class to the next.
In a seperate header file I have:
Code:
extern NSUInteger arrayPosition;
and in its .m I have:
Code:
NSUInteger arrayPosition;
Now the problem is when I'm trying to get the integer value of the row selected:
Code:
arrayPosition = [indexPath row];
If I remove the [indexPath row] and put in an integer, it recognizes the integer in another class. I'm not too sure if I should be using something else besides [indexPath row] because that's what I've seen in most examples. Any help would be greatly appreciated.