user377419
user377419

Reputation: 4999

Cocoa Touch - Countdown Timer

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!

Upvotes: 1

Views: 403

Answers (1)

M. Ryan
M. Ryan

Reputation: 7192

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.

Upvotes: 2

Related Questions