-init and awakeFromNib called twice.
-init and awakeFromNib called twice.
- Subject: -init and awakeFromNib called twice.
- From: Johnny Lundy <email@hidden>
- Date: Fri, 25 Apr 2008 12:41:20 -0400
I know I saw something somewhere in reference to these methods getting
called twice on app launch, but can't find it with searching.
Is this expected behavior for vanilla -init and (void) awakeFromNib
methods? I'm doing some short loops in these methods and calling other
instance methods. For now, no harm is done with all this stuff being
done twice, but I'd rather not have to worry about that if I add code.
I don't see most examples routinely checking for a second invocation
in these init methods so I wonder what is going on.
Other than that, all the advice I got here has worked and I now have
350 lines of code and only one line is glue. Very nice learning
experience for Bindings and I thank all who helped.
_______________________________________________
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