CocoaDev

Edit AllPages

NSView’s have a method to associate an event with a context menu ( menuForEvent:). Here’s an example of how you can use this method: –zootbobbalu

some custom view

category addition to NSMenu to help create a quick PopUpMenu

@interface NSMenu (NSMenu_PopUpAdditions)

@implementation NSMenu (NSMenu_PopUpAdditions)

@end