Re: Detect URL in NSTextView
Re: Detect URL in NSTextView
- Subject: Re: Detect URL in NSTextView
- From: Jose Antonio Ortega <email@hidden>
- Date: Wed, 9 Mar 2005 12:18:44 +0100
On Mar 9, 2005, at 04:37, Adam wrote:
I have an NSTextView that is the output of a chat session. If a user
posts a line that contains a url (http://www.google.com), I would like
to make it blue, underlined and clickable. Is there any simple way to
do this?
Hi. You may find this Apple sample app useful:
http://developer.apple.com/samplecode/TextLinks/TextLinks.html
and there's also a page in CocoaDev:
http://www.cocoadev.com/index.pl?ClickableUrlInTextView
HTH,
José Antonio
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden