swift - How to implement different contextual-menus in a NSOutlineView -
i have view-based nsoutlineview , want show different contextual menus if user right-clicks header or 1 of expanded items.
i dropped 2 nsmenu's storyboard file. when connect menu outlet of headercell 1 of menus got "unsupported configuration" warning , menu never shown. (the same warning table view cell)
i using swift.
can guide me right direction?
1.add nsmenu on scene 2.add outlets setting nsoutlineview make relationship between nsoutlineview nsmenu 3.add custom class overriding nsmenudelegate
Comments
Post a Comment