With XCode 5.1, a new warning appears. It made me understand -obviously- that I was doing something wrong.
The idea was to have an object (a model) and it's mutable version which inherits from the original class. So the idea is to open a property which was readonly
to readwrite
@interface Car : NSObject
@property (strong, readonly) NSString *name;
@end
@interface MutableCar : Car
@property (strong, readwrite) NSString *name;
@end
Those needs to be in separate files (like two normal classes).
And it gives this warning :
Auto property synthesis will not synthesize property 'name' because it is 'readwrite' but it will be synthesized 'readonly' via another property
So I would like to know what is the right solution to do something like it, if it's even possible. if it's needed to write accessors and avoid using auto synthesis, etc. Just please be precise and support your answer with documentation or whatever.