If you use scheduledTimerWithTimeInterval:target:selector:userInfo:repeats: then you don’t need to add it the run loop, it will fire your selector after the time interval you provide as the first parameter.
I have no idea – I pasted your code (both for the timer and the adjustTime method) into a new app, and it worked fine for me. Are you sure something isn’t hooked up wrong in IB? Is your adjustTime method being called?
I bind the max value to a property, I bind my min value to a property, gMinTime : 0 and I set the indicator using another property, gCurrentTime. So my handler becomes:
set my gCurrentTime to gCurrentTime -1
and everything works perfectly. Maybe it’s not a good thing to mix coding and binding on the same control.
Thanks! Last question: how do I get rid of the NSTimer when time reaches zero? Is is possible to do this into the handler? I suppose that ASOC would not appreciate this, a method which releases its caller.