Re: Find color's change in a NSString (attributed)
Re: Find color's change in a NSString (attributed)
- Subject: Re: Find color's change in a NSString (attributed)
- From: Stephane Sudre <email@hidden>
- Date: Mon, 20 Feb 2006 19:05:44 +0100
On 20 févr. 06, at 18:12, Andrea Salomoni wrote:
Thank you for reply.
I found some problems with this code:
isColsedTo: method returns me a warning and about myColor in this case
I can find only a specific color?
Or have I to alloc and initialize a new instance of NSColor?
As I wrote, isClosedTo: is not a method of the AppKit but of a category
_I_ added to NSColor.
To look for multiple colors, you can change the code or run the loop
once per color. This is just some code, not the perfect solution.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden