I have an NSComboBox defined in Interface Builder, and the -(void)comboBoxWillDismiss:(NSNotification *)notification
function in my .m file.
However, when changing the content of the NSComboBox
(internal cells, not data source), the comboBoxWillDismiss
does not get fired.
What did I forget to do?
Asked
Active
Viewed 149 times
0

Laurent Crivello
- 3,809
- 6
- 45
- 89
-
Try to set your .m file's class as the delegate of your ComboBox. – Moray Mar 27 '13 at 19:44
1 Answers
0
It worked as per comment recommendation: [myCombo setDelegate:self].

Laurent Crivello
- 3,809
- 6
- 45
- 89