• 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: NSWindowController doesn't call init method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindowController doesn't call init method


  • Subject: Re: NSWindowController doesn't call init method
  • From: Bruce Beerbower <email@hidden>
  • Date: Thu, 22 Jun 2006 16:19:42 -0400


On Jun 22, 2006, at 2:43 PM, Nick Zitzmann wrote:


On Jun 22, 2006, at 12:06 PM, Bruce Beerbower wrote:

I have a NSWindowController subclass, in which I have implemented the init method. But when I call the initWithWindowNibName: method init doesn't seem to be called. Is there any one method in NSWindowController that is called every time it's initialized?

Yes; check its documentation for something called a "designated initializer".



That would be initWithWindow:. Thank you, that was very helpful. (= _______________________________________________ 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
References: 
 >NSWindowController doesn't call init method (From: Bruce Beerbower <email@hidden>)
 >Re: NSWindowController doesn't call init method (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: NSOpenPanel (or other filesystem browser) and hidden files/directories
  • Next by Date: Help with NSArrayController, NSTableView and NSOpenPanel
  • Previous by thread: Re: NSWindowController doesn't call init method
  • Next by thread: Re: How to force an initial column sort with NSTableView and controller?
  • Index(es):
    • Date
    • Thread