Re: Saving NSColor
Re: Saving NSColor
- Subject: Re: Saving NSColor
- From: Paul Ferguson <email@hidden>
- Date: Thu, 9 May 2002 11:33:54 -0700
On Thursday, May 9, 2002, at 06:37 AM, Julien Guimont wrote:
I tried to save a NSColor using a NSDictionary and a NSUserDefaults but
none of them worked. NSUserDefaults crash and burn and NSDictionary do
not save anything looking like an NSColor when i look in the resulting
file.
Did I miss something?I think I'll save it with RGB values...
The JabberFoX project, <
http://jabberfox.sourceforge.net/>, has some
nice utility code (NSUserDefaults-Colors.h/.m) to save and restore
NSColor objects under NSUserDefaults.
<fergy/>
_______________________________________________
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.