iOS Reference Library Apple Developer
Search

DateCell

Last Revision:
Version 1.1, 2010-06-17
Upgraded project to build with the iOS 4 SDK.
(Full Revision History)
Build Requirements:
iOS SDK 4.0
Runtime Requirements:
iOS 4.0

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.




Last updated: 2010-06-17

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