DPKit

A collection of Objective-C classes.

DPKit TextFields – Time

This is a stand-alone component I put together while working on my Back Office port. I subclassed the field editor and created a custom cell for the textfield, as well as utility categories to easily set and get the value of the textfield as a NSTimeInterval.

Optional seconds and milliseconds.

Keyboard support

Up and down arrows increment and decrease the currently selected unit by one. Left and right arrows will shift the selection in the textfield. The tab key shifts the selection over one to the right.

More documentation coming soon.