Re: Weird bug in my code [long]
Re: Weird bug in my code [long]
- Subject: Re: Weird bug in my code [long]
- From: Jens Bauer <email@hidden>
- Date: Mon, 23 Feb 2004 00:16:24 +0100
Hi Robert,
I think I've seen something similar.
It helped me, invoking the -window method for my "File's Owner", as
this loads the nib:
[self window];
Before this is invoked, the window is not loaded, and the outlets are
not set up, but after invoking this method, the outlets are initialized
(and awakeFromNib is then invoked).
Your problem smells similar... ;)
On Sunday, Feb 22, 2004, at 11:40 Europe/Copenhagen, Robert Cerny wrote:
The bug is that sometimes the outline displays empty. I used a few
dozens of NSAsserts to find the problematic place but didn't find
anything. I added a button to window, which is used just for invoking
debuger and using this technique I was able to stop in problematic
case. (the problem doesn't show always) To my suprise, the pointers to
window objects - created in IB - were empty!? It leads me to idea that
I somehow harm the initialization process but I have no idea what's
wrong.
Love,
Jens
_______________________________________________
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.