Re: NSUserDefaults, an array, and SIGBUS 10
Re: NSUserDefaults, an array, and SIGBUS 10
- Subject: Re: NSUserDefaults, an array, and SIGBUS 10
- From: Scott Anguish <email@hidden>
- Date: Mon, 29 Jul 2002 11:13:04 -0400
On Monday, July 29, 2002, at 11:04 AM, Nico wrote:
Stores its fraction representation as an NSString* and use floatValue]
later
in the code tog et the exact value.
sure.. but why go to the trouble when the original options works in
every case, and you don't find yourself trying to figure out the
appropriate fraction?
Nico
On 7/29/02 4:42 PM, "Scott Anguish" <email@hidden> wrote:
RGB is great with the exception that the color you may be storing is
actually CMYK, or Grayscale and the color model is something you want
to preserve as well. What about repeating decimal numbers? Rounding
those sucks. And if you store it as 0.444 and the system uses
0.44444444444444444444.... then you loose precision for comparisons.
While this can be preserved in another manner than archiving, there is
little point to it. What's more, you'd store it one way, someone else
another, etc...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.