title: How to give this picker view a datasource
body: <p>Here I am adding a pickerview programaticly</p>
  
  <pre><code> - (void)viewDidLoad {
          [super viewDidLoad];
          CGRect pickerFrame = CGRectMake(0,280,321,200);
  
          UIPickerView *myPickerView = [[UIPickerView alloc] init]; //Not sure if this is the proper allocation/initialization procedure
  
          //Set up the picker view as you need it
  
          //Set up the display frame
          myPickerView.frame = pickerFrame; //I recommend using IB just to get the proper width/height dimensions
  
          //Add the picker to the view
          [self.view addSubview:myPickerView];
      }
  </code></pre>
  
  <p>But now I need to actually have it display content and somehow find out when it changes and what value it has changed to. How do I do this?         </p>