• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: I've subclassed NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSView under mouse ?
  • Next by Date: Question on Picture Sharing Browser example
  • Previous by thread: NSForm behavior
  • Next by thread: Question on Picture Sharing Browser example
  • Index(es):
    • Date
    • Thread