Re: quick and dirty NSData implosion
Re: quick and dirty NSData implosion
- Subject: Re: quick and dirty NSData implosion
- From: Dave DeLong <email@hidden>
- Date: Fri, 08 May 2009 08:12:10 -0600
And just to make sure... your Bookmark class does implement NSCoding,
correct? That's required by NSKeyedArchiver.
Dave
On May 8, 2009, at 8:05 AM, Alexander Spohr wrote:
Am 08.05.2009 um 15:56 schrieb jon:
[defaults setObject:bookMarkList forKey:PECBookMarkListKey];
so again, I must be doing something fundamentally wrong here?
Yes. Your BookMark-instance is not a property list object. So you
could store the NSMutableDictionary, but it holds an illegal object.
Therefore the defaults will ignore it.
this also does not explain why the NSData line of code would
implode, even if my assumption was wrong in that case, something
else must also be wrong there.
I can not see a problem at first glace. Maybe you could provide a
stack trace? "Implode" is a bit vague :)
atze
_______________________________________________
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