Just wanted to know if there is any method in NSMutableArray (or NSArray) which lets you get the index of a specific object? for example if have an array which has a b c d e f g h i objects how can I get the index for like c or e or any other object?
2 Answers
NSArray has methods along the lines of indexOfObject: that will give you the index of an object. It all depends on what you're trying to accomplish. Read through the documentation at the links provided and you should find what you're looking for.
