NSToolbarItem does not conform to NSUserInterfaceItemIdentification

Originator:mgoszcz2
Number:rdar://33376541 Date Originated:2017-07-18
Status:Open Resolved:
Product:macOS + SDK Product Version:macOS 10.12
Classification:Enhancement Reproducible:Always
 
Summary:
NSToolbarItem should conform to NSUserInterfaceItemIdentification. At the moment writing actions is made more difficult by having to handle NSToolbarItem identifiers separately. Instead currently NSToolbarItem has it's own "itemIdentifier" property.

Steps to Reproduce:
Attempt to write an @IBAction that can be triggered with sender conforming to NSUserInterfaceItemIdentification

Expected Results:
NSToolbarItem can use the action

Observed Results:
NSToolbarItem cannot use the action because it does not conform to NSUserInterfaceItemIdentification

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!