摘要:
There are, however, three occasions when you might use your own autorelease pools:1. If you are writing a program that is not based on a UI framework, such as a command-line tool.2. If you write a loop that creats many temporary objects.3.you spawn a secondary thread. (2)Autorelease Pools and Threa. 阅读全文