• 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: enabling KeyedCoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: enabling KeyedCoding


  • Subject: Re: enabling KeyedCoding
  • From: "Adam R. Maxwell" <email@hidden>
  • Date: Sun, 13 May 2007 12:43:32 -0700


On May 13, 2007, at 12:15, William Zumwalt wrote:

What must I do to enable keyed coding of objects?  My NSCoding methods
are really basic like the following but the allowsKeyedCoding always
returns a false.

[...]

- (id)replacementObjectForPortCoder:(NSPortCoder *)encoder

If you're dealing with NSPortCoder, it just doesn't support keyed archiving. You'll need to implement old-style coding or use a workaround: http://www.cocoabuilder.com/archive/message/cocoa/2007/2/21/179173


--
Adam
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >enabling KeyedCoding (From: "William Zumwalt" <email@hidden>)

  • Prev by Date: enabling KeyedCoding
  • Next by Date: Re: Hang when Nib is loaded
  • Previous by thread: enabling KeyedCoding
  • Next by thread: Force a sleep
  • Index(es):
    • Date
    • Thread