Pro Multithreading and Memory Management for iOS and OS X: with ARC, Grand Central Dispatch, and Blocks

Front Cover
Apress, Apr 25, 2012 - Computers - 200 pages

If you want to develop efficient, smooth-running applications, controlling concurrency and memory are vital. Automatic Reference Counting is Apple's game-changing memory management system, new to Xcode 4.2. Pro Multithreading and Memory Management for iOS and OS X shows you how ARC works and how best to incorporate it into your applications. Grand Central Dispatch (GCD) and blocks are key to developing great apps, allowing you to control threads for maximum performance.
If for you, multithreading is an unsolved mystery and ARC is unexplored territory, then this is the book you'll need to make these concepts clear and send you on your way to becoming a master iOS and OS X developer. What are blocks? How are they used with GCD? Multithreading with GCD Managing objects with ARC

What you’ll learn How to use blocks How blocks work and are implemented Details about GCD How and when to use GCD To understand ARC technology and how to use it Who this book is for

This book is for professional OS X and iOS application programmers. In particular, it's for those who want to develop highly responsive applications with concurrent programming.

Table of Contents Life before Automatic Reference Counting ARC Rules ARC Implementation Getting Started with Blocks Blocks Implementation Grand Central Dispatch GCD Basics GCD Implementation

Appendix A. Example of ARC, Blocks and GCD

Appendix B. References























































































































































































































































































































































































































































































 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Life Before Automatic Reference Counting
1
ARC Rules
31
ARC Implementation
67
Getting Started with Blocks
81
Blocks Implementation
93
Grand Central Dispatch
139
GCD Basics
146
GCD Implementation
173
Example of ARC Blocks and GCD
181
References
187
Index
192
Copyright

Other editions - View all

Common terms and phrases

About the author (2012)

A bio is not available for this author.

A bio is not available for this author.

Bibliographic information