Re: debugging hard-to-locate error in NSApplication delegate
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