SyntaxFix
Write A Post
Hire A Developer
Questions
According to the error message, you declared myLoc as a pointer to an NSInteger (NSInteger *myLoc) rather than an actual NSInteger (NSInteger myLoc). It needs to be the latter.
myLoc
NSInteger *myLoc
NSInteger myLoc