> > Subject: Re: NSPathStore2 HELP!!!!!! > > Ok, here is how I solved this. Before I called [NSKeyedUnarchive > unarchive...], I called the class method: > > [NSKeyedUnarchiver setClass:[NSString class] forClassName:@"NSPathStore2"]; > > This fixed the errors and allowed me to reclaim the data. NSPathStore2 can > not be initialized, so I just told the Unarchiver to treat it as a NSString > instead. > > > On Feb 19, 2010, at 4:46 PM, Patrick Cusack wrote: > >> I have serialized by an NSDictionary object using NSKeyedArchiver in my >> document's save method. When I unarchive the data, I get a error >> >> *** initialization method -initWithCharactersNoCopy:length:freeWhenDone: >> cannot be sent to an abstract object of class NSPathStore2: Create a >> concrete instance! >> >> >> This is killing me as I can't restore my data. Any thoughts?? Please help!!!! >> >> >> Patrick >
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com