How do you check to see if a variable has changed every second or less in objective c?

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2010-05-04T15:39:28Z Indexed on 2010/05/04 15:58 UTC
Read the original article Hit count: 229

Filed under:
|
|

I am using an if statement to check the value of a BOOLEAN when i click on a button. When the button is clicked if the value is false i want to display a UIActivityIndicator and if the value is true i want to push the new view. I can do this fine but i want the view to change automatically when the BOOLEAN Becomes true if the user has already clicked the button.

So my question is how do you check to see if a value has changed everysecond or less?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c