I am not sure how to go about this. I have an NSMutableArray (addList) which holds all the items to be added to my datasource NSMutableArray.
I now
I found a solution, may not be the most efficient of all, but atleast works
NSMutableArray *add=[[NSMutableArray alloc]init]; for (Item *item in addList){ if ([appDelegate.list containsObject:item]) {} else [add addObject:item]; }
Then I iterate over the add array and insert items.