Re: Selecting an object based on the value of one of its attributes

2010-05-03 Thread Kyle Sluder
On Mon, May 3, 2010 at 3:24 PM, Lynn Barton wrote: > Roland, the application in question uses Core Data. To build a dictionary as > you suggest, I will need to wait until the array controller loads its > content, then iterate over all members of the array, putting the property in > question and

Re: Selecting an object based on the value of one of its attributes

2010-05-03 Thread Lynn Barton
Roland, the application in question uses Core Data. To build a dictionary as you suggest, I will need to wait until the array controller loads its content, then iterate over all members of the array, putting the property in question and the array index into the dictionary. How can I know immedia

Re: Selecting an object based on the value of one of its attributes

2010-04-27 Thread vincent habchi
Le 28 avr. 2010 à 04:37, Lynn Barton a écrit : > Newbie question: Consider an array of dictionary objects, all of the same > class. One of the ivars of that class is an NSString which is unique for each > instance. Does there already exist a method that will identify the one > dictionary object

Re: Selecting an object based on the value of one of its attributes

2010-04-27 Thread Lynn Barton
On Apr 27, 2010, at 8:06 PM, Roland King wrote: > Graham Cox wrote: >> On 28/04/2010, at 12:37 PM, Lynn Barton wrote: >>> Newbie question: Consider an array of dictionary objects, all of the same >>> class. One of the ivars of that class is an NSString which is unique for >>> each instance. Doe

Re: Selecting an object based on the value of one of its attributes

2010-04-27 Thread Roland King
Graham Cox wrote: On 28/04/2010, at 12:37 PM, Lynn Barton wrote: Newbie question: Consider an array of dictionary objects, all of the same class. One of the ivars of that class is an NSString which is unique for each instance. Does there already exist a method that will identify the one dic

Re: Selecting an object based on the value of one of its attributes

2010-04-27 Thread Graham Cox
On 28/04/2010, at 12:37 PM, Lynn Barton wrote: > Newbie question: Consider an array of dictionary objects, all of the same > class. One of the ivars of that class is an NSString which is unique for each > instance. Does there already exist a method that will identify the one > dictionary objec

Selecting an object based on the value of one of its attributes

2010-04-27 Thread Lynn Barton
Newbie question: Consider an array of dictionary objects, all of the same class. One of the ivars of that class is an NSString which is unique for each instance. Does there already exist a method that will identify the one dictionary object that has a given value of that ivar, without me having