title: Type or property (NSUInteger (aka unsigned int)) does not match type of ivar (int)
body: <p>I want to declare a <code>NSInteger</code> variable in my ViewController, but I get an error.</p>
  
  <p>In my ViewController.h I have</p>
  
  <pre><code>@interface MainViewController : UIViewController{
      NSInteger currentSection;
      //Other stuff  
    }
  
    @property (assign,nonatomic) NSUInteger currentSection;
  @end
  </code></pre>
  
  <p>and in my ViewController.m I have:</p>
  
  <pre><code>@implementation MainViewController
  
  //Other stuff
  @synthesize currentSection;
  </code></pre>
  
  <p>But I get this error:</p>
  
  <blockquote>
    <p>Type of property 'currentSection' ('NSUinteger' (aka 'unsigned int')) does not match type of ivar 'currentSection' ('int')</p>
  </blockquote>
  
  <p>Why do I get this error with one simple instruction?<br>
  I'm using Xcode 4.4 with ARC.</p>