- Using InterfaceBuilder create an empty "Cocoa / Window" NIB.
- Drag a NSComboBox into the window.
- In the inspector of the NSComboBox add two menu entries with numbers, lets say 1848 and 2007.
- Drag a NSNumberFormatter into the NSComboBox.
- Enter Testmode, open up the Menu. Ooooh nothing! Yet the first number is shown in the NSComboBox can be read as a floatValue from the control.