• 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: Problem archiving/unarchiving object graph containing NSMutableArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem archiving/unarchiving object graph containing NSMutableArray


  • Subject: Re: Problem archiving/unarchiving object graph containing NSMutableArray
  • From: Mike Abdullah <email@hidden>
  • Date: Fri, 21 Nov 2008 13:27:26 +0000

You're almost certainly going to need to post some code for us to figure it out.

On 21 Nov 2008, at 13:12, Mikael Wämundson wrote:

Hi experienced developers!

I'm trying to archive/unarchive an object graph using archivedDataWithRootObject: aRootObject.
aRootObject has two instance variables of type NSMutableArray. Each mutable array contains customs objects of different types (subclasses of NSObject). For aRootObject and the custom objects in the mutable arrays I have implemeted encodeWithCoder and initWithCoder. When archiving encodeWithCoder gets called for the root object but not for the custom objects in the arrays. Same when unarchiving. Am I missing something?


/wamund
_______________________________________________

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: 
 >Problem archiving/unarchiving object graph containing NSMutableArray (From: Mikael Wämundson <email@hidden>)

  • Prev by Date: Problem archiving/unarchiving object graph containing NSMutableArray
  • Next by Date: Re: Autorelease Question
  • Previous by thread: Problem archiving/unarchiving object graph containing NSMutableArray
  • Next by thread: BOOL value in Dictionary
  • Index(es):
    • Date
    • Thread