• 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
NSColorWell and NSColor Category
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSColorWell and NSColor Category


  • Subject: NSColorWell and NSColor Category
  • From: Yann Bizeul <email@hidden>
  • Date: Wed, 27 Aug 2003 13:12:01 +0200

Hello,

I'm trying to write a category to NSColor to get a dictionary reprentation of a color.
My problem is that works fine If I call my category on a newly allocated color like [ NSColor blackColor ] but not on the color I get from [ myColorWell color ].

Is there a specific place where I have to declare my Category ? Perhaps my NSColor already exists in memory (shared, into NSColorPicker) and my category is ignored ?

Another solution could be to quickly copy a color with something like [ NSColor colorWithColor: myColor ] but that does not seem to be possible.

Thanks for your answers !
--
Yann Bizeul
TYNSOE.ORG - http://www.tynsoe.org/
Site technique consacri ` MacOS X
Projets : http://projects.tynsoe.org/
_______________________________________________
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.

  • Follow-Ups:
    • RE: NSColorWell and NSColor Category
      • From: "Jonathan E. Jackel" <email@hidden>
  • Prev by Date: Re: Slow converting index color to RGB
  • Next by Date: Re: Moving to Keyed Archiving
  • Previous by thread: Full screen windows and NSPopUpButtons
  • Next by thread: RE: NSColorWell and NSColor Category
  • Index(es):
    • Date
    • Thread