RE: Saving NSColor
RE: Saving NSColor
- Subject: RE: Saving NSColor
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Thu, 9 May 2002 10:41:14 -0400
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.
Jonathan
>
-----Original Message-----
>
From: email@hidden
>
[mailto:email@hidden]On Behalf Of Julien Guimont
>
Sent: Thursday, May 09, 2002 9:38 AM
>
To: email@hidden
>
Subject: Saving NSColor
>
>
>
Hi there!
>
>
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...
>
>
Best regards,
>
>
Julien Guimont
>
email@hidden
>
www.juggysoft.com
>
_______________________________________________
>
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.
_______________________________________________
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.