Re: Url display
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>) |