Re: getObjects:andKeys
Re: getObjects:andKeys
- Subject: Re: getObjects:andKeys
- From: chaitanya pandit <email@hidden>
- Date: Sat, 20 Dec 2008 11:07:33 +0530
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
<email@hidden> 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 and
values for a
mutable dict.
Why would you do such an insane thing instead of simply doing [dict
mutableCopy]?
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden