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

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

References: 
 >Detect URL in NSTextView (From: Adam <email@hidden>)

  • Prev by Date: Re: objective-c / cocoa efficiency
  • Next by Date: Re: NSEnumerator retaining objects?
  • Previous by thread: Detect URL in NSTextView
  • Next by thread: Re: Detect URL in NSTextView
  • Index(es):
    • Date
    • Thread