• 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: saving an object reference
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: saving an object reference


  • Subject: Re: saving an object reference
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 27 Dec 2007 13:44:35 -0500

But how do I store a reference (pointer) to an existing object in a dictionary?

I'm not exactly sure I understand your goal, but storing (archiving/ serializing) an object graph is traditionally done via the NSCoding Protocol:


http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Protocols/NSCoding_Protocol/Reference/Reference.html

--
I.S.



_______________________________________________

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


  • Follow-Ups:
    • Re: saving an object reference
      • From: James Maxwell <email@hidden>
References: 
 >saving an object reference (From: James Maxwell <email@hidden>)

  • Prev by Date: Re: saving an object reference
  • Next by Date: Re: saving an object reference
  • Previous by thread: Re: saving an object reference
  • Next by thread: Re: saving an object reference
  • Index(es):
    • Date
    • Thread