If I create property, for example:
@property NSString *selectedSubProductId;
and create setter and getter:
- (NSString *)selectedSubProductId {}
- (void)setSelectedSubProductId:(NSString *)value_ {}
XCode says that "Deault property attribute 'assign' not appropriate for non-gc object"
. Do attributes have any meaning in this case? Does it matter if i make them copy
or assign
or are they only cue for @synthesize
to create desired methods? If so, how should I disable the warnings?