I am using the following array to add an object that was previously created to the favorite array:
NSMutableArray *favorites = [NSMutableArray addObject:[myList objectAtIndex:1]];
However, this code keeps crashing at runtime. I think this is not the best way to implement an array that can save and delete items; is there a better way to implement this? Is there a way to automate this process without having to add an array for every cell selected from the table?