title: Warning about assigning to id<UITextFieldDelegate> when I'm conforming to the protocol
body: <p>My view controller is conforming to UITextFieldDelegate, yet when I try and set the .delegate field of my text field to self, I get the warning: </p>
  
  <blockquote>
    <p>"Assigning to 'id' from incompatible type 'AddReviewViewController *const __strong'"</p>
  </blockquote>
  
  <p>My header file is this:</p>
  
  <pre><code>#import &lt;UIKit/UIKit.h&gt;
  
  @interface AddReviewViewController : UIViewController &lt;UITextFieldDelegate&gt;
  @property (nonatomic) int storeID;
  
  @end
  </code></pre>
  
  <p>So as you can see, I have it declared to conform to the protocol. In the .m file, I have this:</p>
  
  <pre><code>@property (strong, nonatomic) IBOutlet UITextView *reviewTextView;
  </code></pre>
  
  <p>in the section "@interface AddReviewViewController ()"</p>
  
  <p>Then, in viewDidLoad I do:</p>
  
  <pre><code>_reviewTextView.delegate = self;
  </code></pre>
  
  <p>That's where I get the warning. I've tried cleaning and rebuilding, and restarting XCode. Am I missing something obvious here? I'm conforming to the protocol....</p>
  
  <p>EDIT: Thanks for the quick help. In my sleep deprived state I kept re-reading things and swore that's what I was doing but yup, typo. I can't mark an answer for a few minutes, but problem solved, thanks!</p>