Re: Problems with NSComboBox delegate

2014-06-26 Thread Scott Ribe
The notification's "object". On Jun 26, 2014, at 12:44 PM, William Squires wrote: > Okay, now that my email works again... :) > I can understand how to code my NSComboBox data source methods (my > NSWindowController subclass is set as both the data source and the delegate), > and the outlets

Re: Problems with NSComboBox delegate

2014-06-26 Thread Quincey Morris
On Jun 26, 2014, at 11:44 , William Squires wrote: > the delegate method (of interest): > > -(void)comboBoxSelectionDidChange:(NSNotification *)notification > > doesn't pass the reference to the NSComboBox whose selection changed, It does. It’s usual for these sorts of delegate methods that th

Problems with NSComboBox delegate

2014-06-26 Thread William Squires
Okay, now that my email works again... :) I can understand how to code my NSComboBox data source methods (my NSWindowController subclass is set as both the data source and the delegate), and the outlets set up as such in IB. The data source methods to implement: -(NSInteger)numberOfItemsInComb