Object pooling in Objective-C

Posted by Ranking Stackingblocks on Stack Overflow See other posts from Stack Overflow or by Ranking Stackingblocks
Published on 2010-05-04T22:26:57Z Indexed on 2010/05/04 22:48 UTC
Read the original article Hit count: 440

Filed under:
|

Is there a nice way to do this in Objective-C, or do I have to write my own tedious logic?

I'm creating and destroying a little of little state objects per frame in an iPhone game. It would be nice if I could just reuse objects from a pool.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about object-pooling