• 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
URLs in TextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

URLs in TextView


  • Subject: URLs in TextView
  • From: email@hidden
  • Date: Tue, 8 May 2001 18:32:39 -0700

Hi,

I'm trying to setup a NSTextView with some non-editable text that contains some URLs. In IB, I drop a NSTextView, then using the list view, remove the scroller. After adjusting the alpha of the background color, I'm left with a transparent NSTextView. Great. That's step one.

Now my problems begin:

- There doesn't seem to be a way to specify the text. What am I missing? Can it only be done programatically?

- How would I go about specifying a link? There's a tantalizing textView:clickedOnLink: delegate message, but it doesn't tell me how to specify a link in the first place. What's the secret?

- Possibly on the same topic, how would I go about displaying some simple HTML data, kinda like Mail does for HTML emails?

Anyone got any idea or pointers to more complete documentation?

Arno.


  • Follow-Ups:
    • Re: URLs in TextView
      • From: Dan Wood <email@hidden>
  • Prev by Date: One more NSToolbar question
  • Next by Date: Opening help in Help Viewer
  • Previous by thread: Re: One more NSToolbar question
  • Next by thread: Re: URLs in TextView
  • Index(es):
    • Date
    • Thread