can't access menu?
can't access menu?
- Subject: can't access menu?
- From: Luc Vandal <email@hidden>
- Date: Tue, 22 Mar 2005 11:32:57 -0500
Hi,
I'm trying to set the menu's title but something strange happens. If I add a breakpoint in my code, I cannot step over!
- (void)awakeFromNib
{
[[NSApp mainMenu] setTitle:@"Something"];
}
I guess that is not the proper way to access the application menu or mainMenu hasn't been initialized yet? How/when can I access it? I tried to search for examples but couldn't find any!
Thanks!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden