Re: Core Data Save As Binary Error
Re: Core Data Save As Binary Error
- Subject: Re: Core Data Save As Binary Error
- From: Kiran Kumar S <email@hidden>
- Date: Mon, 14 Dec 2009 18:18:53 +0530
Have you changed the storetype to binary in info.plist file
Regards
SKiran
On 14-Dec-09, at 6:11 PM, Richard Somers wrote:
I have a Core Data document based application.
Saving the file as XML or SQLite works fine.
Saving as binary results in an error: *** -[NSKeyedArchiver
encodeValueOfObjCType:at:]: this archiver cannot encode structs.
The struct in question is a transformable attribute using a custom
value transformer.
- (id)transformedValue:(id)value
{
return [NSArchiver archivedDataWithRootObject:value];
}
No where in my code do I call NSKeyedArchiver.
Why does the core data framework work fine saving as XML or SQLite
but not binary?
--Richard
_______________________________________________
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