Re: Instance method from IB

2009-12-23 Thread Joar Wingfors
On 23 dec 2009, at 08.15, Wade Williams wrote: > 1) Subclass the NSButton and have it call selectTabViewItemAtIndex when > pressed In Cocoa you wouldn't subclass standard controls to implement specific action handling like this. It's not the Cocoa way. I also curious as to why you would even

Instance method from IB

2009-12-23 Thread Wade Williams
Apologies for the newbishness of this question, but I've been away from IB for quite some time (and never went very deep with it in the first place). Let's say I want to have two NSButtons (called 1 and 2) that will cause an NSTabView to switch to tab 1 and 2, respectively. I don't want