Ensures that the item being displayed by the receiver agrees with the selected item.
- macOS 10.0+
If there’s no selected item, this method selects the first item in the item menu and sets the receiver’s item to match. For pull-down menus, this method makes sure that the first item is being displayed (the
NSPop object must be set to use the selected menu item, which happens by default).