title: Trouble getting UITextField [textField frame];
body: <p>Current Code:</p>
  
  <pre><code>- (void)textFieldDidBeginEditing:(UITextField *)textField {
      NSLog(@"begin edit: %@", textField);
  }
  </code></pre>
  
  <p>Related output:</p>
  
  <pre><code>2011-10-30 09:12:08.436 My Project[83470:207] begin edit: &lt;UITextField: 0x6c349d0; frame = (112 2; 182 39); text = 'My Name'; clipsToBounds = YES; opaque = NO; autoresize = RM+BM; layer = &lt;CALayer: 0x6c34af0&gt;&gt;
  </code></pre>
  
  <p>So I know the textfield frame is there, but when I try to grab it:</p>
  
  <p>code:</p>
  
  <pre><code>- (void)textFieldDidBeginEditing:(UITextField *)textField {
      NSLog(@"begin edit: %@", [textField frame]);
      // also tried textField.frame -- same thing
  }
  </code></pre>
  
  <p>error:</p>
  
  <pre><code>Thread 1: EXC_BAD_ACCES (code=1, address=0x42e00000)
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>(lldb)
  </code></pre>
  
  <p>I've been spinning my wheels on this and I'm not sure where to go next. Thanks for reading my question.</p>
  
  <p>** EDIT - cell xib instantiation (where the textfield lives) **</p>
  
  <p><em>note:</em> the textfield comes from a xib file that is just a table cell.</p>
  
  <pre><code>static NSString *CellIdentifier = @"ValidatedTextViewTableCell";
  
  ValidatedTextViewTableCell *cell = (ValidatedTextViewTableCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
  if (cell == nil) {
      [[NSBundle mainBundle] loadNibNamed:@"ValidatedTextViewTableCell" owner:self options:nil];
      cell = validatedTextViewTableCell;
      self.validatedTextViewTableCell = nil;
  }
  </code></pre>