Re: quick and dirty NSData implosion
Re: quick and dirty NSData implosion
- Subject: Re: quick and dirty NSData implosion
- From: Alexander Spohr <email@hidden>
- Date: Fri, 8 May 2009 16:05:38 +0200
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