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

NSMutableAttributedString & Links color


  • Subject: NSMutableAttributedString & Links color
  • From: PCWiz <email@hidden>
  • Date: Sun, 13 Dec 2009 18:55:22 -0700

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?

Thanks_______________________________________________

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: Ross Carter <email@hidden>
  • Prev by Date: Re: NSCoder with network
  • Next by Date: App Launches in Finder, Hangs While Launching in Debugger
  • Previous by thread: Detect links in UITextView fails on email addresses?
  • Next by thread: Re: NSMutableAttributedString & Links color
  • Index(es):
    • Date
    • Thread