Hey, quick question that I am not 100% sure about. I am using ARC to release my objects automatically. If I have an @property do I still need to alloc/ init an object?
Example
Since I set up retain in the @properties the object should be retained. So if I alloc/init the dict it feels like I am adding another retain count to it even though ARC handles the release of the object.
Example
Code:
@property (nonatomic, retain) NSMutableDictionary *charDict;
@synthesize charDict;
charDict = [NSMutableDictionary alloc]init];
Since I set up retain in the @properties the object should be retained. So if I alloc/init the dict it feels like I am adding another retain count to it even though ARC handles the release of the object.
Last edited: