Posts Tagged ‘memory management’
Memory Management in Objective-C
Looking at memory management in Objective-C for the first time can be a little bit strange whether you have programming experience or not. Some memory seems to be auto-magically handled for you; other times you need to comb through code looking for allocations and releases. I’ll attempt in this tutorial to concisely go over key starting points in memory management and focus on the Objective-C beginner. One major thing I will leave out or gloss over is retain count for this tutorial, I find it’s much easier to begin without thinking about retain count and just following some more general rules. Make sure you do eventually learn about retain count though as it can be important in programming and debugging. Let’s get started!
Read the rest of this entry »
Tags: alloc, dealloc, memory management
Posted in Objective C, Programming • Break the silence... »