Re: NSKeyedArchiver and NSPoints
Re: NSKeyedArchiver and NSPoints
- Subject: Re: NSKeyedArchiver and NSPoints
- From: Raffael Cavallaro <email@hidden>
- Date: Wed, 28 Apr 2010 15:45:12 -0400
On Apr 28, 2010, at 3:31 PM, Quincey Morris wrote:
> So my original point stands: I want my original bit pattern back again after unarchiving, and I don't believe that a finite decimal string will guarantee that.
As a practical matter, a simple test shows that converting the point:
3.141592653589793, 3.141592653589793
using NSStringFromPoint gives you the string:
"{3.14159, 3.14159}"
so, yeah, you're not getting what you want.
warmest regards,
Ralph
Raffael Cavallaro
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