Changing the I-beam cursor over a text view

Hello,

Is there a way to set the cursor to a pointing hand over a text view without subclassing NSTextView?

I read a lot about NSTrackingAreas, tested a lot of examples, set different tracking options and implemented different methods, but the cursor still remains an I-Beam. I have read that it is an AppKit automatic feature, so how can I prevent this?

Thank you!

Edit for Stefan: I read this :wink:

And.

doesn’t work. I found numerous references on the web, including. bug reporting.

So it seems to be an other «macramé thing». Have a simple idea like “Set the cursor to a «pointing hand» over a text view”, and you end up with subclassing and lines of incredibly verbose (and not working) code.

This finally worked :confused:

Just to find the correct example (Cocoa is 80% doc reading and 20% coding):
https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/EventOverview/TrackingAreaObjects/TrackingAreaObjects.html%23//apple_ref/doc/uid/10000060i-CH8-SW1