• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSKeyedArchiver and NSPoints
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSKeyedArchiver and NSPoints


  • Subject: Re: NSKeyedArchiver and NSPoints
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Wed, 28 Apr 2010 13:18:41 +0200

Le 28 avr. 2010 à 13:09, Graham Cox a écrit :

>
> 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.
>

What about :

- (void)encodeSize:(NSSize)size forKey:(NSString *)key


-- Jean-Daniel




_______________________________________________

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

  • Follow-Ups:
    • Re: NSKeyedArchiver and NSPoints
      • From: Graham Cox <email@hidden>
References: 
 >NSKeyedArchiver and NSPoints (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSKeyedArchiver and NSPoints (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSKeyedArchiver and NSPoints
  • Next by Date: Re: NSKeyedArchiver and NSPoints
  • Previous by thread: Re: NSKeyedArchiver and NSPoints
  • Next by thread: Re: NSKeyedArchiver and NSPoints
  • Index(es):
    • Date
    • Thread