Re: Command-click table in background app
Re: Command-click table in background app
- Subject: Re: Command-click table in background app
- From: Shaun Wexler <email@hidden>
- Date: Wed, 31 May 2006 05:19:56 -0700
On May 31, 2006, at 5:00 AM, Bill Cheeseman wrote:
I can't make this work. I've created a subclass of NSScrollView that
overrides -acceptsFirstMouse:, and I've made my subclass the
scrollview's
"custom class" using IB. But my subclass's -initWithFrame: and
-acceptsFirstMouse: methods are never called (unless I call the latter
explicitly with an NSLog call on the table view's superview's
superview (to
get past the intervening clip view).
Is there some trick to making a table's scrollview use a subclass?
Objects created in Interface Builder are archived, and the designated
initializer for NSCoding will be called when the nib is loaded. You
need to use -initWithCoder: and (in your Debug build) test for the
proper subclass.
--
Shaun Wexler
MacFOH
http://www.macfoh.com
"A person who never made a mistake never tried anything new." -
Albert Einstein
_______________________________________________
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