1 in the tag property if the switch is being touched, or
0 otherwise.
Hope that helps.
Joan Lluch-Zorrilla
El 01/04/2009, a las 16:03, Brian Slick escribió:
We may be able to combine forces here. What I was doing gets the
correct answer from the switch, but what I was finding is that
certain
hed method was added as a target to touch events upon
creation of the switch like this
[switchv addTarget:self action:@selector(switchTouched:)
forControlEvents:UIControlEventAllTouchEvents] ;
Whatever the user does on the switch the result is always Zero. What
am I missing?
Joan Lluc
we "invalidate" the timer by setting
its fire date to the distant future in the operationComplete method,
we should also set a flag in the userInfo dictionary so we will know
its state in the doTimeout method, in case the timer was already
scheduled to fire and it do