Re: Saving NSColor
Re: Saving NSColor
- Subject: Re: Saving NSColor
- From: Ondra Cada <email@hidden>
- Date: Thu, 9 May 2002 18:27:45 +0200
On Thursday, May 9, 2002, at 04:41 , Jonathan E. Jackel wrote:
I believe that color objects don't know how to archive themselves. If a
remember Hillegass correctly, you should pack NSColor into NSData and
archive NSData.
That's definitely the easiest and most flexible solution. Though, if you
happen to be satisfied in RGB values, it would be better to store them as
three (four if you support alpha) numbers, so as one can easily change
defaults from CLI.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
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.