#IUO NSMenu.popUpMenuPositioningItem

Originator:radexpl
Number:rdar://18505688 Date Originated:
Status: Resolved:
Product: Product Version:
Classification: Reproducible:
 
func popUpMenuPositioningItem(item: NSMenuItem, atLocation location: NSPoint, inView view: NSView) -> Bool

ought to be defined as 

func popUpMenuPositioningItem(item: NSMenuItem?, atLocation location: NSPoint, inView view: NSView?) -> Bool

The documentation explicitly talks about passing nil as the item and as the view.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!