Hey all. I know this question\'s been asked but I still don\'t have a clear picture of memory management in Objective-C. I feel like I have a pretty good grasp of it, but I\
First of all, with this line:
fooArray = [[NSMutableArray alloc] init];
fooArray will automatically have a retain count of 1.
Second, yes, it's 2. And your guess on the setter implementation is correct.
Third, the latter one is right