How do I determine which control fired an event?
- by Daniel I-S
I have the Value Changed event of two UISliders (both of which have referencing outlets) wired up to the following method:
-(IBAction) sliderMoved:(id) sender {}
How can I determine which slider was moved so that I can get its value and update the corresponding label? Or would it be simpler to have two separate events, one for each slider? The second option seems like unnecessary replication to me.
Cheers,
Dan