• 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: Url display
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Url display


  • Subject: Re: Url display
  • From: David Remahl <email@hidden>
  • Date: Tue, 17 Sep 2002 13:42:38 +0200

> I have some ASCII text that is displayed in a NSTextView object. The
> text may contain url references such as http://.. or mailto:.. Is there
> an easy way to have these shown as links that can be clicked on? If
> coding the links with <a herf>...</a> in the ASCII file helps that is
> not a problem. Or is it down to me to figure out parsing and applying
> attributes to the text?
>
> Any pointers appreciated much appreciated...
>
> Thanks
> Mark

The following links should provide you with all you need. The second link
points to some finished code which you can use straight away.

http://www.cocoadev.com/index.pl?ClickableUrlInTextView
http://www.blackholemedia.com/code/

/ Rgds, David Remahl
_______________________________________________
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.

References: 
 >Url display (From: Mark Woollard <email@hidden>)

  • Prev by Date: Re: Text file encryption
  • Next by Date: How to subclass NSTableView in java ?
  • Previous by thread: Url display
  • Next by thread: How to subclass NSTableView in java ?
  • Index(es):
    • Date
    • Thread