Changes

Jump to: navigation, search
Designing the User Interface
<google>ADSDAQBOX_FLOW</google>
[[Image:iphone_ios_5_datePicker_uiiphone_ios_6_datepicker_ui.jpgpng|The user interface of an example iPhone iOS 6 UIDatePicker application]]
Figure 29-2
Select the Date Picker object in the view canvas, display the Assistant Editor panel and verify that the editor is displaying the contents of the DatePickerViewController.h file. Ctrl-click on the Date Picker object and drag to a position just below the @interface line in the Assistant Editor. Release the line and in the resulting connection dialog establish an outlet connection named datePicker. Repeat this step to connect the Label object to an outlet property named dateLabel.
Finally, Ctrl-click on the Button object, drag the line to the Assistant Editor panel and configure an Action connection on the Touch Up Inside event to a method named getSelection.
==Coding the Date Picker Example Functionality ==

Navigation menu