DateCell

Last Revision:
Version 1.2, 2013-01-04
Upgraded for iOS 6.0, now using Automatic Reference Counting (ARC) and storyboards, updated to adopt current best practices for Objective-C.
(Full Revision History)
Build Requirements:
iOS SDK 6.0
Runtime Requirements:
iOS 5.0 or later

Demonstrates formatted display of date objects in UITableViewCells and use of UIDatePicker to edit those values.

Using a grouped style UITableViewController, the sample has two UITableViewCells to draw the primary title and NSDate value. This is accomplished using the built-in cell type "UITableViewCellStyleValue1" which supports left and right text. In addition, this sample shows how to use NSDateFormatter class to achieve the custom cell's date-formatted appearance.


Did this document help you? Yes It's good, but... Not helpful...