3 ms·
The biggest complaint I hear about iOS is the somewhat manual memory management. It's really not that bad, and is nowhere near as tricky as C or C++. To be fai
by jwwest 15y ago
The biggest complaint I hear about iOS is the somewhat manual memory management. It's really not that bad, and is nowhere near as tricky as C or C++.
To be fair, iOS does have a garbage collector (NSPool), but you have to free up references for it to reclaim space.
- ryanpetrich 15y agoNSAutoreleasePool is not a garbage collector, it is merely delayed deallocation. There is no such API as NSPool.
- atomicdog 15y agohttp://llvm.org/docs/LangRef.html#objc_gc_flags http://llvm.org/docs/LangRef.html#objc_gc_flags