• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: getObjects:andKeys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >getObjects:andKeys (From: Jordon Hirshon <email@hidden>)
 >Re: getObjects:andKeys (From: chaitanya pandit <email@hidden>)
 >Re: getObjects:andKeys (From: "Michael Ash" <email@hidden>)

  • Prev by Date: Re: getObjects:andKeys
  • Next by Date: Re: Newbie Question: implementing a stack
  • Previous by thread: Re: getObjects:andKeys
  • Next by thread: problem with calendarstore framework when using it with Quicklite API for SQlite.
  • Index(es):
    • Date
    • Thread