NSArray does not guarantee that you can only store one copy of a given object, so you have to make sure that you handle that yourself (or use NSOrderedSet). That said, there are a couple approaches here. If your category objects implement isEqual: to match category_title, then you can just