One way to do this is to use an NSArray
which contains other arrays and an NSDictionary
which can all be stored in a property list.
Then your structure would be like:
People (NSArray)
|
--> Exercises (NSArray)
|
--> Sets (NSArray)
|
--> 0 (NSDictionary)
|
--> Weight (key): 115 (value)
|
--> Repetitions (key): 12 (value)
|
--> Type (key): 1 (value integer mapped to exercise type like Squats)
This can be pretty cumbersome though when you get a lot of data in this one property list, so you might want to consider using Core Data instead (http://www.raywenderlich.com/934/core-data-on-ios-5-tutorial-getting-started)