Search code examples
objective-ccocoa-touchobjectnsmutablearraynsarray

multiple objects for a single index in an NSArray


Is it possible to store multiple objects for a single index in an NSArray?


Solution

  • Sure there are many ways to do this with the most common being to assign a dictionary to each array element