Could someone please clarify for me the semantic difference between these two:
self.foo = [NSMutableDictionary dictionaryWithCapacity:theCapacity];
self.foo = [[[NSMutableDictionary alloc] initWithCapacity:theCapacity] autorelease];
Are the interchangable? If not how exactly do they differ.
Thanks in advance.
Cheers, Doug