Possible to set control's action in IB, set target programmatically?

2009-09-24 Thread Sidney San Martín
I want to to set some controls' targets programmatically, but don't need to change their actions. Interface Builder shows a binding for Target, which is perfect, but I can't find a way to set a control's action in IB *without* hooking up a target. What's the right way to do this? I could create

Re: Possible to set control's action in IB, set target programmatically?

2009-09-24 Thread Sidney San Martín
I just found and looked at the BoundButton sample code, and see that I missed the big, obvious Selector Name field in the inspector's target binding section. I feel special. All's working now. On Thu, Sep 24, 2009 at 5:11 PM, Sidney San Martín s...@sidneysm.com wrote: I want to to set some

Re: Possible to set control's action in IB, set target programmatically?

2009-09-24 Thread Sidney San Martín
All right, so my original question still stands after all (and, I'm sorry, I should've done more poking around before posting here). target/action binding behaves differently from a connection: I can't implement validateMenuItem: (it's never called) and I don't see a way to send the control itself