• 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: NSMutableAttributedString & Links color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMutableAttributedString & Links color


  • Subject: Re: NSMutableAttributedString & Links color
  • From: PCWiz <email@hidden>
  • Date: Mon, 14 Dec 2009 12:13:44 -0700

Thanks, looks like what I need :-)

On 2009-12-14, at 11:42 AM, Ross Carter wrote:

> On Dec 13, 2009, at 8:55 PM, PCWiz wrote:
>
>> Hi,
>>
>> I am, for lack of a better word, "enabling" links in my NSMutableAttributedString by applying the NSLinkAttributeName attribute to them, and I'm changing their color from the default blue to a different color using NSForegroundColorAttributeName. This all works fine. The only issue: When you actually *click* on the link, it goes back to that default blue with underline style.
>>
>> Is there any way to change this?
>
> NSTextView -setLinkTextAttributes:
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >NSMutableAttributedString & Links color (From: PCWiz <email@hidden>)
 >Re: NSMutableAttributedString & Links color (From: Ross Carter <email@hidden>)

  • Prev by Date: Re: memcpy with 64 bit
  • Next by Date: Re: App Launches in Finder, Hangs While Launching in Debugger
  • Previous by thread: Re: NSMutableAttributedString & Links color
  • Next by thread: App Launches in Finder, Hangs While Launching in Debugger
  • Index(es):
    • Date
    • Thread