@property definitions with ARC: strong or retain?
问题 Using Xcode 4.2 and ARC, I notice that the auto-generated code for an NSManagedObject still reads like this for properties: @property (nonatomic, retain) NSString * someString; 1) Shouldn\'t retain now be replace with strong or weak ? 2) Why does the auto-generated code still use retain 3) What is the correct replacement for retain in this property statement? I\'m currently debugging a problem using NSFetchRequest , and I thought this might be the source of the problem. Thoughts? 回答1: 1)