On Panel Load???

Discussion in 'Mac Programming' started by satyam90, Feb 4, 2008.

  1. macrumors regular


    Jul 30, 2007
    Bangalore, India
    I am using Cocoa with Obj C. And my application is non-document one.
    I have NSPanel whose delegate I have attached is an instance derived from NSWindowController. I added a method windowDidLoad in my controller. But I observed that it is never being called. Why is it not happening as in case I use NSWindow with NSWindowController.
    Where I have to write the code for initializing the controls in the panel (apart from awake from NIB) ?
  2. Moderator emeritus


    Jun 15, 2000
    Why not use awakeFromNib?

    Check this post on why windowDidLoad may not be working.

Share This Page