Book Image

Objective-C Memory Management Essentials

Book Image

Objective-C Memory Management Essentials

Overview of this book

Table of Contents (18 chapters)
Objective-C Memory Management Essentials
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we reviewed autorelease pools and how to properly use them. We also highlighted the differences between NSAutoreleasePool and the new @autoreleasepool classes and its benefits.

In the next chapter, we will talk about a few concepts related to object creation and initialization, such as immutability, inheritance, and so on. We will delve into design patterns such as singletons, which are commonly used in the iOS SDK, such as the UIApplication class that has a method called sharedApplication. We will also look into properties as a way to define the information that a class intends to encapsulate. We will also look into custom methods and format specifiers in Chapter 4, Object Creation and Storage. We will cover a lot of materials in the next chapter, so sit tight and hang on while we head to Chapter 4, Object Creation and Storage!