• 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: Ross Carter <email@hidden>
  • Date: Mon, 14 Dec 2009 13:42:23 -0500

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

  • Follow-Ups:
    • Re: NSMutableAttributedString & Links color
      • From: PCWiz <email@hidden>
References: 
 >NSMutableAttributedString & Links color (From: PCWiz <email@hidden>)

  • Prev by Date: Re: memcpy with 64 bit
  • Next by Date: Re: memcpy with 64 bit
  • Previous by thread: NSMutableAttributedString & Links color
  • Next by thread: Re: NSMutableAttributedString & Links color
  • Index(es):
    • Date
    • Thread