• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AwakeFromNib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: AwakeFromNib (From: email@hidden)

  • Prev by Date: Re: HELP!! [self needsHelpWith:strings];
  • Next by Date: Re: Text fields doesn't draw in a custom view
  • Previous by thread: Re: AwakeFromNib
  • Next by thread: [OT] Custom AppleScript editor
  • Index(es):
    • Date
    • Thread