Changes

An iOS 4 iPhone UIPickerView Example

23 bytes added, 13:18, 25 March 2011
UIPickerView Delegate and DataSource
== UIPickerView Delegate and DataSource ==
<google>IOSBOX</google>
Before starting on the project it is worth taking some time to talk about the delegate and datasource of the UIPickerView class. In order to obtain the options to be displayed to the user, the PickerView needs a data source. This data source takes the form of a protocol that defines the methods that must be implemented in order to provide the Picker with data information. At the minimum the class designated as the data source must implement the following methods: