I know this is an easy one, but I just started working with plists, and I am having trouble. I can write the Array to the plist no problem, but when I try to add a second array it just replaces the previous one.
Here’s the code:
self.excersizeArray = [[NSMutableArray alloc] initWithCapacity:4];
[excersizeArray addObject:excersizeName];
[excersizeArray addObject:numSets];
[excersizeArray addObject:time];
[excersizeArray addObject:restTime];
self.excersizesArray = [[NSMutableArray alloc] initWithCapacity:20];
[excersizesArray addObject:excersizeArray];
Here is the plist:

Try using the
NSMutableArraymethodaddObjectsFromArray:to add the contents of the array rather than the array itself. For example,All I’ve changed is the last line. This will add the contents of the array rather than the array itself.