• 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: Uli Kusterer <email@hidden>
  • Date: Tue, 21 Feb 2006 01:49:22 +0100

Am 20.02.2006 um 17:18 schrieb Andrea Salomoni:

ps: Already read the NSAttributedString doc....


Well, these docs mention the NSForegroundColorAttributeName attribute, that it is an NSColor object, and they also mention you can query attributes using -attribute:atIndex:effectiveRange:. Since you probably know how to get the length of a string and loop over it, I'm befuddled what else you are having a problem with.


Could you perhaps tell us what you have tried so far and what your exact problem is?

Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
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>)

  • Prev by Date: Re: After inserting link into text, link continues as user types
  • Next by Date: Re: Sorting array of strings by string length
  • 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