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

Device memory


As with all computing devices, iPads and iPhones have a finite amount of memory and you may be tempted to develop applications without any concern about the memory usage. Doing so is not ideal for development as memory optimizing and management should always be at the top of your mind when doing any type of development, regardless of whatever platform you will be developing on.

Let's take a look at the amount of memory that each of the iOS devices have, and we will start with iPhones:

 

iPhone 4S

iPhone 5

iPhone 5C

iPhone 5S

RAM

512 MB

1 GB

1 GB

1 GB

Here is the RAM for iPads:

 

iPad Air

iPad Mini 2

iPad Mini Wi-Fi + Cellular

iPad 2 Wi-Fi + 3G

iPad Mini Wi-Fi

iPad 3 Wi-Fi

iPad 3 Wi-Fi + Cellular

iPad 4 Wi-Fi

iPad 2 Wi-Fi

RAM

1 GB

1 GB

512 MB

512 MB

512 MB

1 GB

1 GB

1 GB

512 MB

Now, the amount of memory does look impressive as you fondly remember the days of old, where your old desktop ran on 256 MB of RAM, but do remember that iOS does not let you...