• 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
can't access menu?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: can't access menu?
      • From: Stephane Sudre <email@hidden>
  • Prev by Date: Re: [OT] Job hunting
  • Next by Date: Re: Programatically creating/saving an NSImage;
  • Previous by thread: Re: Insert new project into source control
  • Next by thread: Re: can't access menu?
  • Index(es):
    • Date
    • Thread