Can I early-release an autorelease object?

Posted by Ranking Stackingblocks on Stack Overflow See other posts from Stack Overflow or by Ranking Stackingblocks
Published on 2010-05-04T23:54:11Z Indexed on 2010/05/04 23:58 UTC
Read the original article Hit count: 176

i.e. would cause the object to be released immediately and not have to be released by the pool if I did this?

[[NSArray arrayWithCapacity:100] release];

Can't find a clear explanation in the docs about this.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about memory-management