9780321842848

iOS and macOS Performance Tuning Cocoa, Cocoa Touch, Objective-C, and Swift

by
  • ISBN13:

    9780321842848

  • ISBN10:

    0321842847

  • Edition: 1st
  • Format: Paperback
  • Copyright: 2017-02-23
  • Publisher: Addison-Wesley Professional

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $49.99 Save up to $12.50
  • Rent Book $37.49
    Add to Cart Free Shipping

    TERM
    PRICE
    DUE
    CURRENTLY AVAILABLE, USUALLY SHIPS IN 24-48 HOURS

Supplemental Materials

What is included with this book?

  • The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
  • The Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Summary

In iOS and macOS™ Performance Tuning, Marcel Weiher drills down to the code level to help you systematically optimize CPU, memory, I/O, graphics, and program responsiveness in any Objective-C, Cocoa, or CocoaTouch program.

 

This guide focuses entirely on performance optimization for macOS and iOS. Drawing on more than 25 years of experience optimizing Apple device software, Weiher identifies concrete performance problems that can be discovered empirically via measurement. Then, based on a deep understanding of fundamental principles, he presents specific techniques for solving them.

 

Weiher presents insights you won’t find anywhere else, most of them applying to both macOS and iOS development. Throughout, he reveals common pitfalls and misconceptions about Apple device performance, explains the realities, and helps you reflect those realities in code that performs beautifully.

  • Understand optimization principles, measurement, tools, pitfalls, and techniques
  • Recognize when to carefully optimize, and when it isn’t worth your time
  • Balance performance and encapsulation to create efficient object representations, communication, data access, and computation
  • Avoid mistakes that slow down Objective-C programs and hinder later optimization
  • Fix leaks and other problems with memory and resource management
  • Address I/O issues associated with drives, networking, serialization, and SQLite
  • Code graphics and UIs that don’t overwhelm limited iOS device resources
  • Learn what all developers need to know about Swift performance

This book’s source code can be downloaded at github.com/mpw/iOS-macOS-performance.

 

Register your product at informit.com/register for convenient access to downloads, updates, and corrections as they become available.

Author Biography

Marcel Weiher is a developer with more than 20 years of Objective-C and 17 years of NeXT/Cocoa experience. He has always pushed performance boundaries, whether it was ripping 90MB PostScript files into 128MB raster images buffers on 32MB NeXTStations, database-publishing the several-thousand page ISBN directories, or improving BBC feed processing performance by three orders of magnitude while at the same time reducing the number of machines required from over a dozen to one. More recently, he was a member of Apple’s Mac OS X performance group (an Apple-internal performance SWAT team) and improved on Cocoa XML performance by an order of magnitude. He is currently the Mac tech lead for the award-winning Livescribe Pulse Smartpen, and has his own software and consulting business specializing in high-performance PostScript and PDF software.

Table of Contents

Preface

Part 1. CPU

1. Principles

2. Tools and Measurement

3. Techniques and Technology

4. Pitfalls

5. Examples

 

Part 2. Memory

6. Principles

7. Tools and Measurement

8. Techniques and Technology

9. Pitfalls

10. Examples

 

Part 3. I/O

11. Principles

12. Tools and Measurement

13. Techniques and Technology

14. Pitfalls

15. Examples

 

Part 4. Graphics and Text

16. Principles

17. Tools and Measurement

18. Techniques and Technology

19. Pitfalls

20. Examples

 

Part 5. Other Performance Issues

21. Responsiveness

22. Power

Rewards Program

Write a Review