Re: getObjects:andKeys

2008-12-19 Thread chaitanya pandit
Jordon, this can be used to create copies of a dictionary, you get the keys and values array with getObjects:andKeys on an existing dictionary and iterate through the keys array and setting the same keys and values for a mutable dict. On 17-Dec-08, at 7:06 PM, Jordon Hirshon wrote: Can

Re: getObjects:andKeys

2008-12-19 Thread Michael Ash
On Sat, Dec 20, 2008 at 12:20 AM, chaitanya pandit chaita...@expersis.com wrote: Jordon, this can be used to create copies of a dictionary, you get the keys and values array with getObjects:andKeys on an existing dictionary and iterate through the keys array and setting the same keys

Re: getObjects:andKeys

2008-12-19 Thread chaitanya pandit
Hehe, i know, but he just wanted an example as to what can be done with getObjects:andKeys. This was focused on using the getObjects... method rather than to create a copy of the dict. On 20-Dec-08, at 10:56 AM, Michael Ash wrote: On Sat, Dec 20, 2008 at 12:20 AM, chaitanya pandit chaita

getObjects:andKeys

2008-12-17 Thread Jordon Hirshon
Can someone tell me where I might see an example of this method? Thanks, Jordon ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Re: getObjects:andKeys

2008-12-17 Thread Keary Suska
On Dec 17, 2008, at 6:36 AM, Jordon Hirshon wrote: Can someone tell me where I might see an example of this method? I don't know of any specific example. Perhaps if you explain what about the method call you aren't clear on and we can offer explanations. Best, Keary Suska Esoteritech,

Re: getObjects:andKeys

2008-12-17 Thread Kyle Sluder
On Wed, Dec 17, 2008 at 8:36 AM, Jordon Hirshon jbhirs...@yahoo.com wrote: Can someone tell me where I might see an example of this method? If you don't understand what's going on in this example, I'd suggest getting a copy of The C Programming Language (2nd Ed.) by Kernighan and Ritchie. //