• 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: Links in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Links in NSTextView


  • Subject: Re: Links in NSTextView
  • From: Jeremy Dronfield <email@hidden>
  • Date: Tue, 20 Jul 2004 14:30:26 +0100

You add it as an attribute, with NSLinkAttributeName as the key, and a URL as the value.

Regards,
-Jeremy


On 20 Jul 2004, at 12:01 pm, Lorenzo wrote:

Hi,
I have seen that if I copy a text containing web-links from Safari to
TextEdit, the web-link is mantained in the TextEdit text. And it works.

Now, how can I set a web-link on a string in my NSTextView text
programmatically?


Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Links in NSTextView
      • From: Lorenzo <email@hidden>
References: 
 >Links in NSTextView (From: Lorenzo <email@hidden>)

  • Prev by Date: Binding NSTableColumn to multiple NSPopUpButtonCell's
  • Next by Date: printing a table
  • Previous by thread: Links in NSTextView
  • Next by thread: Re: Links in NSTextView
  • Index(es):
    • Date
    • Thread