• 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: Creating menu's at runtime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating menu's at runtime


  • Subject: Re: Creating menu's at runtime
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 10 Feb 2003 14:42:26 -0800

On Monday, February 10, 2003, at 05:40 AM, Flemming Bengtsson wrote:

aSubMenu = [[NSMenu alloc] init];
[aSubMenu initWithTitle:@"Art"];

You're calling -init twice in those two lines. The following should work better:
aSubMenu = [[NSMenu alloc] initWithTitle:@"Art"];

Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page: http://dreamless.home.attbi.com/

#include <stdsignature.h>
_______________________________________________
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.

  • Prev by Date: bundle version number troubles
  • Next by Date: Re: Weird problem with array declaration in action
  • Previous by thread: Creating menu's at runtime
  • Next by thread: Splash Screen Strategy?
  • Index(es):
    • Date
    • Thread