title: obj-c, how do I create a property and synthesize an NSUInteger?
body: <p>I'm having some trouble using an NSUInteger, I've tried various things and googled, but not found the answer ?</p>
  
  <p>I have... I also tried ... nonatomic, retain</p>
  
  <pre><code>@property (readwrite, assign) NSUInteger *anAmount;
  
  @synthesize anAmount;
  </code></pre>
  
  <p>error: type of property 'anAmount' does not match type of ivar 'anAmount'</p>
  
  <p>Also when I release it in dealloc I get a warning..</p>
  
  <p>warning: invalid receiver type 'NSUInteger'</p>