• 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: bycopy in and NSDistantObject in return
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bycopy in and NSDistantObject in return


  • Subject: Re: bycopy in and NSDistantObject in return
  • From: Claudio Procida <email@hidden>
  • Date: Fri, 23 Feb 2007 22:10:51 +0100


On 21 feb 2007, at 22:49, Adam R. Maxwell wrote:

You need to implement -SGDuplicateTreeNode replacmentObjectForPortCoder:] if you haven't already. Here's the implementation I use (see the docs for details):

Yep, I'm already doing this and the copyWithZone: methods are being called, but...


Since NSPortCoder doesn't support keyed archiving, you'll need to implement the old-style archiving as well. My workaround is something like this (with corresponding decode method):

Aha... that was not clear. All the classes are implementing keyed coding, so not surprisingly it hangs... I'll change the coding methods as needed


Hope this helps.


Thanks Adam, you made my day! :)

--
Claudio Procida
Emeraldion Lodge
http://www.emeraldion.it


_______________________________________________

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: 
 >bycopy in and NSDistantObject in return (From: Claudio Procida <email@hidden>)
 >Re: bycopy in and NSDistantObject in return (From: "Adam R. Maxwell" <email@hidden>)

  • Prev by Date: Xcode Developer Documentation
  • Next by Date: Re: Xcode Developer Documentation
  • Previous by thread: Re: bycopy in and NSDistantObject in return
  • Next by thread: Error using categories: 'cannot find interface section for MyClass'
  • Index(es):
    • Date
    • Thread