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