Well, I've been playing around a little bit with getting URLs in my
NSTextView to actually become clickable links. So far, so good. I set the
attributes for my attributed strings that get inserted into the text view:
NSLinkAttributeName for the link URL and NSCursorAttributeName for the
cursor that appears when hovering over the link.
Everything works fine--all my links get highlighted like links should be,
and the cursor changes when I hover over the links, except for one minor
glitch. The cursor only changes when the text view is active! So if the
first responder is my table view and I hover over a link in my text view,
the cursor stays as the I-beam.
Anyone else figured a way around this? I've found LOTS of sample code on the
internet to automatically highlight URLs, but you have to go through every
link in the text view and set up cursor rects and so forth. It seems like a
bit of a hackjob when the provided methods -almost- work. This solution I'm
using now seems so handy if I can just get it to work when the text view is
not the first responder. The link still works, but the aesthetics of the app
really bug me when the cursor doesn't change. Yes, I'm picky! Am I missing
something really obvious, like an
NSTextView -setChangesCursorOnLinksWhenNotFirstResponder: method?

I've
perused the docs, so I doubt it.
Thanks...
Doug