ios - NSTimer in external class -
I need your help, I have NSInteger (seconds for timer), NSTimer and a BOOL (running the timer? ) With the property has a purpose-called C-Class, besides I have some ways in which my timer controls (start / stop / reset).
In my visual controller I have 6 properties in the form of a timer-object. It is because I need 6 different timers for my app.
@ Property (strong, non-functional) timer * Name 1-6;
If I start my timer and the time (property: seconds) appears in the console (NSLog) everything works but it does not refresh my label on the storyboard.
Someone asked me to use ID and SEL as a property, but I do not know how to do it. Can you give me some hint where to use those qualities? Or any other ideas?
If you want some code to understand better, do not hesitate to ask :)
Thank you for your help.
The main problem is that labels are not being updated every other.
What do you need to do? Make your labels updated per second.
StackHowflow already has an answer:
Comments
Post a Comment