Adds an item with the specified title to the end of the menu.
Original signature is '- (void)addItemWithTitle:(NSString *)title'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- title (NSString)
- The title of the new menu item. If an item with the same title already exists in the menu, the existing item is removed and the new one is added.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)