Hey all,
I get his message:
Implicit conversion of an Objective-C to 'NSUInteger *' (aka 'unsigned int *') is disallowed with ARC
with this line right here:
Unit *unit = [[Unit alloc] init];
unit.unit_id = [dict objectForKey"id"];
THis is the header:
This is the implementation:
Not sure why the error occurs and what it is exactly trying to say.
Thanks for response
I get his message:
Implicit conversion of an Objective-C to 'NSUInteger *' (aka 'unsigned int *') is disallowed with ARC
with this line right here:
Unit *unit = [[Unit alloc] init];
unit.unit_id = [dict objectForKey"id"];
THis is the header:
Code:
@interface Unit : NSObject
{
@private
NSString *name;
NSUInteger *unit_id;
}
@property (weak, nonatomic) NSString *name;
@property (assign, nonatomic) NSUInteger *unit_id;
@end
This is the implementation:
Code:
#import "Unit.h"
@implementation Unit
@synthesize name = _name;
@synthesize unit_id;
@end
Not sure why the error occurs and what it is exactly trying to say.
Thanks for response