Re: NSTextView unarchived from nib missing pointing hand cursor over links?
Re: NSTextView unarchived from nib missing pointing hand cursor over links?
- Subject: Re: NSTextView unarchived from nib missing pointing hand cursor over links?
- From: Daniel Jalkut <email@hidden>
- Date: Fri, 6 Jan 2006 18:35:03 -0500
As a possible general workaround, could you subclass NSTextView and
override awakeFromNib to do the desired attribute settings?
You could have the subclass pose as NSTextView, so you wouldn't have
to change the class associations in IB. When Apple fixes the bug you
can conditionalize the poseAs class on AppKit version.
I'm curious to hear whether there are dangers to this approach that I
am not considering. Is posing as a class strong enough to change the
instantiated class of archived IB objects?
Daniel
On Jan 6, 2006, at 5:42 PM, Douglas Davidson wrote:
Is there anything I can do to work around the problem? (A general
workaround would be great, so I don't have to paste a workaround
into every view controller, but I'd be happy with any workaround.)
File a bug. The workaround would be to manually set the
linkTextAttributes on the text view; you can see what an
appropriate set of values would be by interrogating one of your
programmatically created text views.
_______________________________________________
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