NSColorWell and NSColor Category
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.