Search code examples
iosobjective-cnsarraydata-containers

Suggest data container for array of arrays in iOS7


I need to put a UITableViewCell containing 3 UILabel and 1 UIImage into a UITableView.

What would be the best data container for this?

  1. NSArrays in NSMutableArray?
  2. NSDictionarys in NSMutableArray?

The 3 UILabel are not modifiable but the UIImage may be modified.

Any recommendations?


Solution

  • Thanks guys for the comments. I managed to figure it out.

    In order to solve the above, I had a NSMutableArray that houses multiple NSMutableDictionaries.

    Problem solved.