I have a header cell for an NSTableView based on NSTextFieldCell containing an
NSPopupButtonCell.
I am setting the NSPopupButtonCell up programmatically. I set an action method
for the NSPopupButtonCell in the standard fashion:
[self.popupCell setAction:@selector(headerCellPopupChanged:)];
This works in principle but when the dummy action method
- (void)headerCellPopupChanged:(id)sender{
NSLog(@"Changed: %@", sender);
}
is called, sender is nil:
Changed: (null)
Am I missing something? Has anybody seen this?
Thanks,
Peter_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]