1
I have this code and I would like to know if this way of implementing is valid in objective-C.
@interface Carro : NSObject
@property (copy, nonatomic) NSUInteger ano;
@property (copy, nonatomic) NSString *modelo;
@property (assign, nonatomic) NSUInteger ano;
@property (assign, nonatomic) NSUInteger qtdGasolina;
@property (assign, nonatomic) NSUInteger marchaAtual;
@end