I ended up saving each array to a separate file. First I declared the two separate file paths like this:
- (NSString *)fermentableDataFilePath
{
return [[self documentsDirectory] stringByAppendingPathComponent:@"Fermentables.plist"];
}
- (NSString *)hopDataFilePath
{
return [[self documentsDirectory] stringByAppendingPathComponent:@"Hops.plist"];
}
Then I referenced each file path in the save methods I put in my original question. So in the first method I would have written my writeToFile method like this:
[fermentableData writeToFile:[self fermentableDataFilePath] atomically:YES];