Re: AwakeFromNib
Re: AwakeFromNib
- Subject: Re: AwakeFromNib
- From: Lance Bland <email@hidden>
- Date: Tue, 21 May 2002 12:13:45 -0400
On Tuesday, May 21, 2002, at 11:42 AM, email@hidden wrote:
Martin Weil wrote:
|For some reason, awakeFromNib is not called at startup, but at quit in
my
|program.
More information would be helpful. Is awakeFromNib being called at quit
for *every* object loaded from *any* nib file? Only for objects from a
particular nib file? For particular objects? Which ones? What classes
are they? What exactly do you mean, "at quit"? (When you select the
"Quit Whatever" menu item?) Etc., etc., etc.
hi-
He sent me his project. He had this implementation:
- (void)awakeFromNib
{
printf("worked");
}
Because there was no '\n' in the printf string, the stdout buffer only
flushed when the app terminated. When I put a '\n' in then the method
printed at the right time. So, it was a false alarm.
-lance
------------------------------------
Lance Bland
mailto:email@hidden
web charts at
http://www.vvi.com/products/chart
_______________________________________________
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.