How would one go about creating a 15 second countdown timer..I’ve seen NSTimer but was wondering if their was an easier way.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not really. You could do thread blocking with performSelector:withObject:afterDelay, but that will freeze your app in place unless you make a new thread, which is harder than just using NSTimer.
Welcome to embedded development.