Memory Management in Objective-C
| Buy for Just $14.99 | ![]() |
![]() |
It has been said that over 80% of bugs are related to memory problems. Understanding and implementing robust memory management practices in your application will reduce bugs and improve the efficiency of your application.
If you are used to programming in languages such as Basic where memory management is not an issue or if you are used to the raw memory management practices of C and C++ then you will need to change your thinking to work with Objective-C’s reference counted memory management.
This course walks you through Objective-C’s memory management techniques using over 86 minutes of video. By time you finish watching and implementing the techniques described in this course you will be able to develop robust leak free Objective-C applications.
Who Is This Course For?
Anyone who is new to Objective-C and wishes to get a firm understanding of implementing robust memory management in any Foundation or Cocoa based application.
What You Get
- 86 Minute HD (1280 x 720) training video on Memory Management in Objective-C.
- The video is formatted as DRM free .mp4 files with the course being available as a single file or with each chapter shipping as an individual file. (Both 112MB)
- You also receive the course formatted at 480×272 for use on your iPhone or iPod Touch again as either a single file or as individual chapter files (88MB)
- All the sample code displayed on the training videos.
Course Content
Part 1: Introduction
A brief overview of what is in the course pack and what the course will cover. Duration: 3 Minutes.
Part 2: An Introduction to Memory
An overview of how memory works and the under lying principles of memory management. Duration: 13 Minutes.
Part 3: Memory Management with Objective-C
This sections examines the principles behind NSObject’s reference counting system. Duration: 5 Minutes.
Part 4: Rule 1: release after alloc
This section examines our responsibility to release object we allocate.
Duration: 7 Minutes.
Part 5: Rule 2: release after copy
This section examines our memory management responsibilities after doing a copy. Duration: 2 Minutes
Part 6: Rule 3: release after retain
This section examines how we can control the lifetime of objects using retain and the responsibilities this brings.
Duration: 8 Minutes.
Part 7: Rule 4: autorelease objects returned from methods
This section examines the principle of Autorelease pools and autoreleasing and where its use is appropriate.
Duration: 14 Minutes.
Part 8: Rule 5: Convienience constructors return autorelease objects
This section examines Convenience constructors and the memory management requirements that go with them.
Duration: 4 Minutes.
Part 9: Rule 6: Understand Arrays and Collections
This section looks at the memory management issues associated with using arrays and collections.
Duration: 8 Minutes.
Part 10: Summing up the rules
A quick review session to summarize the 6 rules of memory management.
Duration: 3 Minutes
Part 11: Finding Memory Leaks with Instruments
This section looks at how to track down memory leaks using Apple’s Instruments application that ships with Xcode.
Duration: 8 Minutes
Part 12: Finding Problems with NSZombie
This last section looks at using NSZombie to find over releasing problems in our code.
Duration: 5 Minutes.
| Buy for Just $14.99 | ![]() |
![]() |











[...] from the Mac Developer Network that tells you everything you need to know about memory management. Mac Developer Network
[...] Mac Developer Network Video [...]
[...] recommend this video from the Mac Developer Network, Memory Management in Objective-C. It’s 14 bucks, but it will save you hours in debugging if you follow the advice there. As [...]
Leave your response!
Donate to MDN
Shopping Cart
Log In
Join
Lost your Password?
Feeds
The MDN ShowAll of the old episodes of the old shows can be found on The MDN Show Feed
The MDN BIG BLOG
To subscribe to the BIG BLOG point your RSS reader at http://feeds.feedburner.com/mdnbigblog
Categories