• 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: Find color's change in a NSString (attributed)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Find color's change in a NSString (attributed) (From: Andrea Salomoni <email@hidden>)
 >Re: Find color's change in a NSString (attributed) (From: Stephane Sudre <email@hidden>)
 >Re: Find color's change in a NSString (attributed) (From: Andrea Salomoni <email@hidden>)

  • Prev by Date: Re: Questions about NSThread, NSRunloop, Webview
  • Next by Date: Re: Questions about NSThread, NSRunloop, Webview
  • Previous by thread: Re: Find color's change in a NSString (attributed)
  • Next by thread: Re: Find color's change in a NSString (attributed)
  • Index(es):
    • Date
    • Thread