Objective-C Memory Management Essentials

Steven Saunders, Macquarie University

Audience: Beginner

Abstract:

Debugging memory related bugs can be a time-consuming and headache-inducing process. A solid grasp on the principles of memory management is key to avoiding these annoyances. In this presentation participants will develop a detailed understanding of Cocoa’s retain/release/autorelease system and the memory ownership issues it is designed to address.  Attendees will also learn how to adopt Cocoa’s garbage collection facility, and how it relates to reference counting. The use of tools like Instruments and Guard Malloc to track down memory leaks, as well as memory-smashing and doubly-freed-memory bugs will also be covered.

Speaker Bio:

Steven is a research programmer at the ARC Centre of Excellence in Cognition and its Disorders (CCD) at Macquarie University, where he works on the DRC Model of Visual Word Recognition and Reading Aloud.  He has over twelve years experience in software development, and has been working with Apple technologies for eight years.