I thought the object returned by NSMutableDictionary dictionaryWithCapacity:
would be released when the autorelease pool in main.m is drained. Instead, when i assign this to an instance member in -init, i find the object only lasts as long as the -init call.
What is managing the release of the object returned by NSMutableDictionary dictionaryWithCapacity:
?
To further mystify what is going on here, i find that when i assign an object of a custom class created by a convenience constructor to an instance member in init, that instance is still "alive" in (for example) touchBegan: ...