title: Unable to set text field on UILabel
body: <p>I have created <code>UITableCellView</code> class called <code>NoteCell</code>. The header defines the following:</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  #import "Note.h"
  
  @interface NoteCell : UITableViewCell {
      Note *note;
      UILabel *noteTextLabel;  
  }
  
  @property (nonatomic, retain) UILabel *noteTextLabel;
  
  - (Note *)note;
  - (void)setNote:(Note *)newNote; 
  
  @end
  </code></pre>
  
  <p>In the implementation I have the following code for the <code>setNote:</code> method:</p>
  
  <pre><code>- (void)setNote:(Note *)newNote {
      note = newNote;
      NSLog(@"Text Value of Note = %@", newNote.noteText);
      self.noteTextLabel.text = newNote.noteText;
      NSLog(@"Text Value of Note Text Label = %@", self.noteTextLabel.text);
      [self setNeedsDisplay];
  }
  </code></pre>
  
  <p>This fails to set the text field of the <code>UILabel</code> and the output of the log messages is: </p>
  
  <pre><code>2008-11-03 18:09:05.611 VisualNotes[5959:20b] Text Value of Note = Test Note 1  
  2008-11-03 18:09:05.619 VisualNotes[5959:20b] Text Value of Note Text Label = (null)
  </code></pre>
  
  <p>I have also tried to set the text field of <code>UILabel</code> using the following syntax:</p>
  
  <pre><code>[self.noteTextLabel setText:newNote.noteText];
  </code></pre>
  
  <p>This does not seem to make a difference.</p>
  
  <p>Any help would be much appreciated.</p>