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

Problem archiving/unarchiving object graph containing NSMutableArray


  • Subject: Problem archiving/unarchiving object graph containing NSMutableArray
  • From: Mikael Wämundson <email@hidden>
  • Date: Fri, 21 Nov 2008 14:12:10 +0100

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


  • Follow-Ups:
    • Re: Problem archiving/unarchiving object graph containing NSMutableArray
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Cocoa "canvas" view ?
  • Next by Date: Re: Problem archiving/unarchiving object graph containing NSMutableArray
  • Previous by thread: Re: Cocoa "canvas" view ?
  • Next by thread: Re: Problem archiving/unarchiving object graph containing NSMutableArray
  • Index(es):
    • Date
    • Thread