title: UITextField inputView - Can the selected view reference the textfield?
body: <p>If I have a set up like so:</p>
  
  <pre><code>- (void)textFieldDidBeginEditing:(UITextField* )textField {
  
      if (textField.tag == 603) { 
  
          datePicker = [[UIDatePicker alloc]init];
          [datePicker setDatePickerMode:UIDatePickerModeDate];
          [datePicker setDate:[NSDate date]];
          [datePicker addTarget:self action:@selector(showDate:) forControlEvents:UIControlEventValueChanged];
          textField.inputView = datePicker;
  
      }
  
  }
  </code></pre>
  
  <p>in the setDate method, can I reference which textField the UIPickerDate is the inputView of? That sounds confusing but like something like this: </p>
  
  <pre><code>- (void) showDate: (UIDatePicker*) myDatePicker {
  
      NSDate* selected = [myDatePicker date];
      NSString* date = [selected description];
      myTextField = myDatePicker.view //I know this is not a property
  
  }
  </code></pre>
  
  <p>kind of in the same sense that a UITapGestureRecognizer knows what view is calling it...</p>
  
  <p>Explanation for Woz: I could but it would make the app less dynamic. This is a big form for  the installation of medical devices. To create the form I store all the element properties in a dictionary (label, type (text, checkbox, segmented control), form section, etc.) and then each dict in an array in the proper order. I programatically build everything while in the array loop. I guess I could subclass UITextField...but you got to admit it would be nice to know which textfield initiated the inputView</p>