Apress Cyber Monday SALE

Pro Multithreading and Memory Management for iOS and OS X

with ARC, Grand Central Dispatch, and Blocks

By Kazuki Sakamoto , Tomohiko Furumoto

  • eBook Price: $34.99 $10.00
  • Print Book Price: $49.99
Buy eBook Buy Print Book
Learn best practices for using Grand Central Dispatch (GCD), blocks, and Automatic Reference Counting (ARC).

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-4116-4
  • 200 Pages
  • User Level: Intermediate to Advanced
  • Publication Date: April 23, 2012
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Swift Game Programming for Absolute Beginners
  • Swift Recipes
  • Beginning Hybrid Mobile Application Development
  • Troubleshooting Xcode
  • Enterprise Mac Security: Mac OS X (Third Edition)
  • Enterprise Mac Administrator\'s Guide: Second Edition
  • Designing for iOS with Sketch
  • Get Fit with Apple Watch
  • Beginning iPhone Development with Swift 2
Full Description

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 how they 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

Table of Contents

1. Life before Automatic Reference Counting

2. ARC Rules

3. ARC Implementation

4. Getting Started with Blocks

5. Blocks Implementation

6. Grand Central Dispatch

7. GCD Basics

8. GCD Implementation

Appendix A. Example of ARC, Blocks and GCD

Appendix B. References

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. PHP Objects, Patterns, and Practice

      $38.99 $10.00

      View Book

    2. Beginning Android 3D Game Development

      $34.99 $10.00

      View Book

    3. Troubleshooting Oracle Performance

      $41.99 $10.00

      View Book

    4. Beginning Amazon Web Services with Node.js

      $38.99 $10.00

      View Book