I am doing some allocation as
self.xyz = [[NSDictionary alloc] init];
Is it a good idea of retaining a property such like that? Or
will it be better to do such as:
NSDictionary *zzz = [[NSDictionary alloc] init];
self.xyz = zzz;
[zzz release];
My concern here is, I have seen some places people retaining such as:
self.xyz = [[NSDictionary alloc] init];
which means the retain count is 2. So what's the best way to reduce a count here to one.
Thanks. Just trying to clear some memory management concept clear a little more.