This is my code:
@interface Object : NSObject {
@private
NSArray *array;
}
@property NSArray *array;
@end
And the @synthesize
in the implementation. I get a compiler warning in the line with the @property
:
warning: default assign attribute on property 'array' which implements NSCopying protocol is not appropriate with -fobjc-gc[-only]
If I write the property as @property (assign) NSArray *array
it does not show up. What is this about?