NSPathStore2 HELP!!!!!!
NSPathStore2 HELP!!!!!!
- Subject: NSPathStore2 HELP!!!!!!
- From: email@hidden
- Date: Fri, 19 Feb 2010 19:57:52 -0800
>
> 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 (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