• 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: debugging hard-to-locate error in NSApplication delegate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debugging hard-to-locate error in NSApplication delegate


  • Subject: Re: debugging hard-to-locate error in NSApplication delegate
  • From: mmalc Crawford <email@hidden>
  • Date: Mon, 12 Jan 2009 17:16:52 -0800


On Jan 12, 2009, at 5:06 PM, Michael Ash wrote:

On Mon, Jan 12, 2009 at 1:41 PM, Quincey Morris
<email@hidden> wrote:
This isn't going to work because your app delegate object is in your NIB
file and is (re)created at startup by unarchiving. Therefore,
'initWithCoder' will be called instead or 'init'.

Well actually no, the true picture is considerably more complex than that, and -init is correct. [...] I *think* that's the full list of what gets initialized how, but I may have missed a spot.

<http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/chapter_3_section_4.html >

mmalc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


References: 
 >debugging hard-to-locate error in NSApplication delegate (From: Greg Beaver <email@hidden>)
 >Re: debugging hard-to-locate error in NSApplication delegate (From: Quincey Morris <email@hidden>)
 >Re: debugging hard-to-locate error in NSApplication delegate (From: "Michael Ash" <email@hidden>)

  • Prev by Date: Re: debugging hard-to-locate error in NSApplication delegate
  • Next by Date: Re: debugging hard-to-locate error in NSApplication delegate
  • Previous by thread: Re: debugging hard-to-locate error in NSApplication delegate
  • Next by thread: @loader_path and @executable_path
  • Index(es):
    • Date
    • Thread