URLs in TextView
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.