• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Saving NSColor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Saving NSColor (From: Julien Guimont <email@hidden>)

  • Prev by Date: Re: C Callback to update Cocoa UI elements - how?
  • Next by Date: Re: Snap-to-edge palettes / dragging windows
  • Previous by thread: Re: Saving NSColor
  • Next by thread: Re: Saving NSColor
  • Index(es):
    • Date
    • Thread