i am trying to get index of an array through indexOfObject method as follows but when i try to log the value to test the index i get a garbage value.. for t
Try this:
NSArray's indexOfObject: method. Such as the following:
indexOfObject:
NSUInteger fooIndex = [someArray indexOfObject: someObject];