I have this code, in some .h file:
@interface StatusData :JSONModel <NSCoding>
@property (strong, nonatomic)NSString <Optional> *description;
@end
and I got this warning:
Auto property synthesis will not synthesize property 'description' because it is 'readwrite' but it will be synthesized 'readonly' via another property
which gives me exception in runtime:
Terminating app due to uncaught exception 'NSInvalidArgumentException',
reason: '-[< ClassName> setDescription:]: unrecognized selector sent to instance
is there a way to override the 'description' property to be readwrite ?