Learn and put into practice various memory management techniques in Objective-C to create robust iOS applications
Objective-C Memory Management Essentials will familiarize you with the basic principles of Objective-C memory management, to create robust and effective iOS applications. You will begin with a basic understanding of memory management, and why memory leaks occur in an application, moving on to autorelease pools and object creation/storage to get an idea of how memory is allocated. You will also see what ARC (Automatic Reference Counting) is and how it helps in memory management. Finally, you will cover examples on how to use the various tools provided by Xcode to help in memory management. You will also get a basic understanding of Swift, the recently introduced programming language to write interactive and lightning-fast applications.
By the end of this book, you will have all the necessary knowledge on how to effectively memory-manage your application with best practices.
What You Will Learn
Understand the theoretical basics of memory management
Discover how and why memory leaks occur
Use Objective-C to stem memory leaks in your application
Familiarize yourself with the various memory debugging tools available in Xcode
Implement data persistence using Core Data
Understand how ARC helps in memory management
Introduce yourself to Swift, the brand new programming language to write effective, lightning-fast applications
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.