A Cocoa timer class for iOS and OS X offering a choice of behaviors, so you can use the right one.