Implementing the Delegate Protocol
For the purposes of this example, the only delegate method we need to implement is the one that gets called when the user makes a selection from the PickerView component. The code for this method also belongs in the PickerViewController.m file and should be implemented as follows: