title: UITextField changing into UITextInputTraits
body: <p>I have a UIViewController subclass that has a UITextField. It is loading from a xib. However, whenever I try to access the roomName instance variable after the view is initialized (e.g. in viewDidLoad), the debugger shows it as UITextInputTraits.</p>
  
  <p>Here is my interface.</p>
  
  <pre><code>@interface AddRoomViewController : UIViewController &lt;UITextFieldDelegate&gt;{
    IBOutlet UITextField *roomName;
    id&lt;AddRoomDelegate&gt; *delegate;
  }
  
  - (IBAction)textFieldDidBeginEditing:(UITextField *)textField;
  
  - (void) done;
  
  @property (nonatomic, copy) UITextField *roomName;
  @property (nonatomic, assign) id &lt;AddRoomDelegate&gt; *delegate;
  @end
  </code></pre>
  
  <p>I am new to iOS development so I'm sure that I just missed a connection or something, but I am stumped.</p>
  
  <p>Edit: I understand that it is a protocol, but when I try to get the text from the UIText Field I get the following error:</p>
  
  <pre><code>*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITextInputTraits text]: unrecognized selector sent to instance 0x4d16170' 
  </code></pre>