• 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
Hyperlinks in NSAttributedString?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hyperlinks in NSAttributedString?


  • Subject: Hyperlinks in NSAttributedString?
  • From: Rick Mann <email@hidden>
  • Date: Thu, 30 Jul 2009 02:53:26 -0700

I need to render short sentences in my UI, and make certain words clickable (and differently-styled). I know I can use a web view, but that seems like overkill. I currently have a multiline NSTextField. Is it possible to display an NSAttributedString, and have the cursor change over clickable words, and detect a click on those words?

Or is a webkit view really the only easy way to go?

Thanks!

--
Rick

_______________________________________________

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: Hyperlinks in NSAttributedString?
      • From: Тимофей Даньшин <email@hidden>
  • Prev by Date: Re: [SOLVED] Binding collection view label through two entities
  • Next by Date: Re: Hyperlinks in NSAttributedString?
  • Previous by thread: Re: UIWebView: prevent from displaying menu, Copy.
  • Next by thread: Re: Hyperlinks in NSAttributedString?
  • Index(es):
    • Date
    • Thread