NimbusKit
1.2.1 - Fork Nimbus on Github - Visit the Nimbus Wiki
The iOS framework that grows only as fast as its documentation
|
A date picker form element.
This element shows a date that can be modified.
You can initialize it with a labelText showing on the left in the table cell, a date that will be used to initialize the date picker and a delegate target and method that gets called when a different date is selected.
To change the date picker format you can access the datePicker property of the NIDatePickerFormElementCell sibling object.
Tasks | |
(id) | + datePickerElementWithID:labelText:date:datePickerMode:didChangeTarget:didChangeSelector: |
(id) | + datePickerElementWithID:labelText:date:datePickerMode: |
(Class) | - cellClass |
(UITableViewCellStyle) | - cellStyle |
Initializes a date picker form element with callback method for value changed events.
elementID | An ID for this element. |
labelText | Text to show on the left side of the form cell. |
date | Initial date to show in the picker |
datePickerMode | UIDatePickerMode to user for the date picker |
target | Receiver for didChangeSelector calls. |
selector | Method that is called when a segment is selected. |
Initializes a date picker form element with callback method for value changed events.
elementID | An ID for this element. |
labelText | Text to show on the left side of the form cell. |
date | Initial date to show in the picker |
datePickerMode | UIDatePickerMode to user for the date picker |
The class of cell to be created when this object is passed to the cell factory.
The style of UITableViewCell to be used when initializing the cell for the first time.