How to check if the value in an NSDictionary exists in an array of dictionarys
问题 The title is a bit confusing...I'll explain I have an NSMutableArray I am populating with NSMutableDictionary objects. What I am trying to do is before the dictionary object is added to the array, I need to check whether any of the dictionaries contain a value equal to an id that is already set. Example: Step 1: A button is clicked setting the id of an object for use in establishing a view. Step 2: Another button is pressed inside said view to save some of its contents into a dictionary, then