Hi!
I'm making an app and i'm encountering a problem. I have a UITableViewController which is working very well. I've added things into the table and they work fine, i can click on them etc.
In one of my cells in the table, when i click in I go to a new nib file with a new class. In it I have a Timer which continually refreshes a label. However, when i go back to the table, it still refreshes it. I wish to stop it from refreshing it, i.e. invalidate the timer when i leave the view. How would I do this?
Thanks.
I'm making an app and i'm encountering a problem. I have a UITableViewController which is working very well. I've added things into the table and they work fine, i can click on them etc.
In one of my cells in the table, when i click in I go to a new nib file with a new class. In it I have a Timer which continually refreshes a label. However, when i go back to the table, it still refreshes it. I wish to stop it from refreshing it, i.e. invalidate the timer when i leave the view. How would I do this?
Thanks.