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 protected])
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/davedelong%40me.com
This email sent to [email protected]
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]