• 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
How to create a color catalog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to create a color catalog


  • Subject: How to create a color catalog
  • From: Matthias Arndt <email@hidden>
  • Date: Sun, 8 Mar 2009 10:50:36 +0100

I'm still struggling with the problem to identify a color list / name after picking a color with NSColorPanel. It would be easy to solve if I could use color catalogs instead of color lists. In [1] the following is mentioned about NSColorList:

The color lists returned by the availableColorLists method include color catalogs, made up of colors defined in the NSNamedColorSpace color space. One example is the System color list, which appears in the Mac OS X color panel under the name “Developer.” Note, however, that not all named color lists are catalogs. In general, lists created at runtime with NSColor and NSColorList methods are not catalogs.

Fine, ... "in general" ..., but how to create a color list being a catalog? I googled a lot and searched the developer docs and didn't find any hint!


Frustrated, Mattes

[1] <http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/DrawColor/Concepts/AboutColorLists.html >_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: problem observing selectionIndex of an array controller
  • Next by Date: Re: Cleaner daemon managed by Launchd?
  • Previous by thread: Re: problem observing selectionIndex of an array controller
  • Next by thread: Making a border-less window is not working
  • Index(es):
    • Date
    • Thread