Re: I've subclassed NSOutlineView
Re: I've subclassed NSOutlineView
- Subject: Re: I've subclassed NSOutlineView
- From: Craig Bakalian <email@hidden>
- Date: Sat, 23 Aug 2003 04:32:30 -0400
On Saturday, August 23, 2003, at 01:00 AM,
email@hidden wrote:
I've subclassed NSOutlineView and overrode initWithFrame: and
addTableColumn:. I then set the outline view in my application to use
my custom class. When I run my application, it doesn't seem to be
using my subclass. However, when I print the class from my
application, it says that it is using my subclass. I put some NSLog
calls in my initWithFrame: and addTableColumn: methods in my class and
they never show up in console.
Hi Kevin,
I just encountered this, kind of... I did not subclass NSOutlineView,
I set a drawer's NSView custom class to be an NSOutlineView and had
many unusual untraceable issues. I found that I had to put the
NSOutlineView in a NSScrollView and then it began to operate without
unusual untraceable issues.
So, you may need to instantiate a NSScrollView and [[myScrollView
setDocumentView] myOutlineView] to see things work the way you want.
Craig Bakalian
www.eThinkingCap.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.