How to link more than one object at a time in Xcode 4.2?
Posted
by
Beppe
on Stack Overflow
See other posts from Stack Overflow
or by Beppe
Published on 2012-04-06T22:45:11Z
Indexed on
2012/04/06
23:29 UTC
Read the original article
Hit count: 167
I'm probably missing the basics here... Is there a way to link more than one object to a method at a time using Interface Builder in Xcode 4.2?
I set tons of UIButtons in my UIView. All of them call just one method (let's say - (IBAction)buttonPushed:(UIButton *)aButton
) that should do something different depending on the sender. I can't figure out a way to link them all with my method at a time. Any advice will be very appreciated...
N.B. I'm using Xcode 4.2 on Snow Leopard, without storyboard.
© Stack Overflow or respective owner