Re: Double call of awakeFromNib on custom view
Re: Double call of awakeFromNib on custom view
- Subject: Re: Double call of awakeFromNib on custom view
- From: Manfred Lippert <email@hidden>
- Date: Mon, 11 Feb 2002 20:16:07 +0100
>
Is this controller associated with any other nib files in your application?
Nope.
It is an about box. It has only one of this custom view in its window. The
about box or the custom view is not used or referenced at any other place
(actually I could not see anything like that).
If I run it in the debugger I can see the following calls:
- [NSBundle loadNibNamed ...] call
- CustomView: awakeFromNib (with [self window] == nil)
- CustomView. awakeFromNib (with [self window] != nil)
- AboutBox:awakeFromNib
- [NSBundle loadNibNamed ...] returns
It is OK when I know that and do a check for window == nil, but I can not
find anything in the documentation about this behaviour.
I don't see where I could make an error. (But who knows ... ;-))
Bye,
Mani
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.