• 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
NSPathStore2 HELP!!!!!!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Monitoring other application preferences changes
  • Next by Date: Removing item from CollectionView by drag it out.
  • Previous by thread: Re: Monitoring other application preferences changes
  • Next by thread: Removing item from CollectionView by drag it out.
  • Index(es):
    • Date
    • Thread