Re: NSKeyedArchiver and NSPoints
Re: NSKeyedArchiver and NSPoints
- Subject: Re: NSKeyedArchiver and NSPoints
- From: Graham Cox <email@hidden>
- Date: Wed, 28 Apr 2010 21:09:05 +1000
On 28/04/2010, at 8:00 PM, Gerriet M. Denkmann wrote:
> // *** -[NSKeyedArchiver encodeValueOfObjCType:at:]: this archiver cannot encode structs
>
> Using NSArchiver (without the "Keyed") works fine.
>
> How am I supposed to save my array of points?
> 10.6.3.
I find the easiest way is to use NSStringFromPoint and NSPointFromString to store these types.
--Graham
_______________________________________________
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