• 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 subclass initialization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSWindowController subclass initialization


  • Subject: Re: NSWindowController subclass initialization
  • From: Jonathon Mah <email@hidden>
  • Date: Sun, 3 Dec 2006 23:51:39 +1030

Hi Jeff,

On 2006-12-03, at 09:33, Jeff Hellman wrote:

In HandoutsReportController.m I have the following method:

-(id) init {

I don't think this is the problem here, but subclasses should generally override the designated initializer (which, for NSWindowController, is -initWithWindow:).


Notice that the init method in HandoutsReportController is never
called.  If I change my Active Build from Release to Debug, this works
perfectly:

Trash the build folder?


Jonathon Mah email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSWindowController subclass initialization
      • From: James Bucanek <email@hidden>
    • Re: NSWindowController subclass initialization
      • From: Jerry Krinock <email@hidden>
References: 
 >NSWindowController subclass initialization (From: "Jeff Hellman" <email@hidden>)

  • Prev by Date: Re: DiskArbitration & Finder
  • Next by Date: Re: DiskArbitration & Finder
  • Previous by thread: Re: NSWindowController subclass initialization
  • Next by thread: Re: NSWindowController subclass initialization
  • Index(es):
    • Date
    • Thread