title: I want to extend the CoreDataBooks example with a UIPickerView
body: <p>I am trying to add in a third method into the editting view controller in this example; a simple pickerview for a field.  Currently, my pickerview has 6 items that I load into it.  When I run it, it shows a '?' for the value on the picker view rather than the word.  It does select the right item/row and return it to the calling controller, but it just won't display the text.</p>
  
  <p>I believe that I am not allocating the array properly to the PickerView as it compiles with the following warning:  </p>
  
  <pre><code>"Incompatible Objective-C types assigning 'Struct NArrary *', expected 'struct UIPickerView *'"
  </code></pre>
  
  <p>Here is what I have declared in the .h file:</p>
  
  <pre><code> UIPickerView *pickerView;
   NSArray *choiceArray;
  
  
   @property (nonatomic, retain) IBOutlet UIPickerView *pickerView;
   @property (nonatomic, retain) NSArray *choiceArray;
  </code></pre>
  
  <p>And in the .m file:</p>
  
  <pre><code>  choiceArray = [[NSArray alloc] initWithObjects:@"Financial",@"One",@"Two",@"three",@"four",@"six", nil];
    pickerView = choiceArray; //&lt;-- error
    [choiceArray release];
  </code></pre>
  
  <p>It's this line:  "pickerView = choiceArray;"
  that I get the warning on.</p>
  
  <p>thx,
  wes</p>