I've implemented the NSComboBoxDelegate:
-(void)comboBoxSelectionDidChange:(NSNotification *)notification{
}
- (void)controlTextDidEndEditing:(NSNotification *)aNotification{
}
- (void)comboBoxWillPopUp:(NSNotification *)notification{
}
- (void)comboBoxWillDismiss:(NSNotification *)notification{
}
but I have 2 comboBoxes - with 2 different functionalities. is there a way to know which comboBox is no on the run, and act accordingly?
or do I have to implement 2 different delegates outside? and if so - is there an easy way to transfer information back to my viewcontroller?
is there a way to get info about the sender of the notification?