• 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: 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.
References: 
 >RE: Saving NSColor (From: "Jonathan E. Jackel" <email@hidden>)

  • Prev by Date: Re: Making an NSTextView have a data source
  • Next by Date: Re: Saving NSColor
  • Previous by thread: RE: Saving NSColor
  • Next by thread: Re: Saving NSColor
  • Index(es):
    • Date
    • Thread