Overriding setters with arc and dynamic properties
问题 I need to do some additional stuff in a setter method. But I get an infinite loop when doing so: I've got a core data object @interface Transaction : NSManagedObject @property (nonatomic, retain) NSDate * date; @end @implementation Transaction @dynamic date; -(void)setDate:(NSDate *)date { self.date = date; //additional stuff omitted } So, in that case I get an infinite loop. Okay so I searched on the net and modified my code in the following way and for every version I get compiler errors