$49.99
FREE International Returns
No Import Fees Deposit & $11.08 Shipping to Germany Details

Shipping & Fee Details

Price $49.99
AmazonGlobal Shipping $11.08
Estimated Import Fees Deposit $0.00
Total $61.07

Delivery Friday, September 27. Order within 14 hrs 10 mins
Or fastest delivery Monday, September 23
Only 2 left in stock (more on the way).
$$49.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$49.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Sold by
Amazon.com
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Returns
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Payment
Secure transaction
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
Support
Product support included
What's Product Support?
In the event your product doesn't work as expected or you need help using it, Amazon offers free product support options such as live phone/chat with an Amazon associate, manufacturer contact information, step-by-step troubleshooting guides, and help videos. By solving product issues, we help the planet by extending the life of products. Availability of support options differ by product and country. Learn more
Support
Product support included
In the event your product doesn't work as expected or you need help using it, Amazon offers free product support options such as live phone/chat with an Amazon associate, manufacturer contact information, step-by-step troubleshooting guides, and help videos. By solving product issues, we help the planet by extending the life of products. Availability of support options differ by product and country. Learn more
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

Follow the author

Something went wrong. Please try your request again later.

iOS and macOS Performance Tuning: Cocoa, Cocoa Touch, Objective-C, and Swift (Developer's Library) 1st Edition

4.5 4.5 out of 5 stars 14 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$49.99","priceAmount":49.99,"currencySymbol":"$","integerValue":"49","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"p7mrPGFhgrFL%2FBVBnf%2F617Knnlkse3L56kJ%2FUWQjDWAuzs%2BFVtBQJfLc9W7ZaPuK3pDEm0IbiWeF64fpsMd7WykRBUQBGqXEJs1ucwJjojMA2cvrszb7nQ%2FN3mpIggfVyiaj8iSmdMcy1YuS4cJJuw%3D%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}]}

Purchase options and add-ons

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.

Editorial Reviews

About the Author

Marcel Weiher is a software engineeer and researcher with more than 25 years of experience with Cocoa-related technologies. Marcel’s work has always been performance-focused, ranging from solving impossible pre-press problems on the machines of the day via optimizing one of the world’s busiest web properties at the BBC to helping other Apple engineers improve the performance of their code on Apple’s Mac OS X performance team.

In addition to helping established companies and startups create award-winning software and turn around development teams, Marcel also teaches, blogs, speaks at conferences, contributes to open source, and invents new techniques such as Higher Order Messaging. He also works on programming languages, starting with an Objective-C implementation in 1987 and culminating in the Objective-Smalltalk architecture research language. Marcel currently works as a principal software engineer at Microsoft Berlin and maintains his own software and consulting company, metaobject ltd.

Product details

  • Publisher ‏ : ‎ Addison-Wesley Professional; 1st edition (February 23, 2017)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 400 pages
  • ISBN-10 ‏ : ‎ 0321842847
  • ISBN-13 ‏ : ‎ 978-0321842848
  • Item Weight ‏ : ‎ 1.36 pounds
  • Dimensions ‏ : ‎ 6.9 x 1 x 8.9 inches
  • Customer Reviews:
    4.5 4.5 out of 5 stars 14 ratings

About the author

Follow authors to get new release updates, plus improved recommendations.
Marcel Weiher
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Discover more of the author’s books, see similar authors, read author blogs and more


Customer reviews

4.5 out of 5 stars
14 global ratings

Customers say

Customers find the book's information useful, rich with helpful examples, and a goldmine of usable optimization information. They also appreciate the candor and candor of the author. Readers describe the writing quality as well-written, thoughtful, and accessible to beginners.

AI-generated from the text of customer reviews

4 customers mention "Information content"4 positive0 negative

Customers find the book's information useful, rich with helpful examples, and a goldmine of usable optimization information. They say the principles are timeless, and they expect the book to remain relevant.

"...This book is rich with helpful examples showing how to circle in upon a performance issue which might not be obvious at first blush...." Read more

"...It's clearly based on long experience and full of information that, as far as I know, is not available anywhere else: measurements, explanations for..." Read more

"Very talented writer, lots of useful information. Could use better editing: more than a few typos and the level of the book bounces around a lot." Read more

"Just a goldmine of usable optimization information that you'll never find anywhere else - phenomenal..." Read more

3 customers mention "Writing quality"3 positive0 negative

Customers find the book well-written, thoughtful, and accessible to beginners. They also say the author is talented.

"This book is well written, thoughtful, and accessible to beginning developers. If you're new to the platform this is a must-read...." Read more

"...The writing is concise and filled with little nuggets of insight...." Read more

"Very talented writer, lots of useful information. Could use better editing: more than a few typos and the level of the book bounces around a lot." Read more

Top reviews from the United States

Reviewed in the United States on December 28, 2020
I'll just briefly go point by point:
-it's not written in beginner language, you need a good general knowledge of computer science and objC to take advantage
-though it's primarily about objc, it talks about swift too. You'll learn plenty about both, and most of what you learn has applications in both languages. And alot of what you learn in this book applies broadly - like tagged pointers, for example. Any language that supports pointers can implement that. Smalltalk implements it, apparently
-there are so many useful things about performance you'd never find anywhere else and would not think of.
-my tests indicate most of the performance issues and optimizations apply to Swift as well as objC, and still hold up today
-you might be surprised to learn that ObjC outperforms Swift significantly when correctly optimized (despite the general dogma this is still true today, I've ran the tests myself) - you'll learn there's a serious use case for objC at a time when so many people are saying there's zero reason to ever use it.
-you will need to do a slight bit of research a few times in conjunction with reading the book - like on how to compile swift from the command line to run the tests, which he didn't specify, for example. There are also a few minor bugs in some of the code, and he doesn't explain some of his code examples well (not a beginners book). Nonetheless this isn't worth taking off a star, the knowledge in this book is just too valuable
-you're just going to gain so much deeper understanding of how these languages work in the process of studying their performance characteristics
-he's an expert in performance with something approaching 30 years of experience, was an apple engineer on their performance team...
One person found this helpful
Report
Reviewed in the United States on April 1, 2017
This book is well written, thoughtful, and accessible to beginning developers. If you're new to the platform this is a must-read. If you're an experienced iOS / macOS developer you'll find this book to be like an extended conversation with a long-time expert. It's more than helpful and the author's candor is refreshing. Marcel Weiher has opinions based on deep experience, and he knows the difference between an opinion and an objective fact. This book is rich with helpful examples showing how to circle in upon a performance issue which might not be obvious at first blush. Developers, if you work on a team you'll want your managers to read this book, too. (I am the CEO of illumineX, inc, maker of custom software for large enterprises and consumer software for macOS and iOS. I'm going to give a copy of this book to every developer on my team.)
6 people found this helpful
Report
Reviewed in the United States on December 29, 2017
I hardly ever write reviews, but this book is really excellent. It's the rare programming book that is API-specific but not just a reformulation of the documentation. It's clearly based on long experience and full of information that, as far as I know, is not available anywhere else: measurements, explanations for why things are the way they are, and examples of code that doesn't work the way you might expect. I've been programming Cocoa for almost 20 years, so I had figured out many of the specific points on my own, but I read the book cover-to-cover and don't feel that any of my time was wasted. The writing is concise and filled with little nuggets of insight. The principles are timeless, so I expect this book to remain relevant and even be of interest to programmers using other platforms.
One person found this helpful
Report
Reviewed in the United States on May 2, 2017
Very talented writer, lots of useful information. Could use better editing: more than a few typos and the level of the book bounces around a lot.
2 people found this helpful
Report
Reviewed in the United States on June 30, 2019
Highly recommended to anyone looking to tune their apps
Reviewed in the United States on April 27, 2017
Marcel is a former Apple engineer who's thoughts and opinions are strong, well-informed and are still well-respected within that large pool of excellent software minds. This book is awesome and if you intend to do anything on a macOS or iOS (or any other Apple platform) do buy and read this book. Wisdom and experience and yes strongly worded pragmatism throughout.
I will add to it that Mr. Weiher is well known as an advocate of all of the things SmallTalk brought to Objective-C and you should understand the perspective he presents is that Objective-C is a strong and flexible language. Understanding this will make more sense in reading the book.
3 people found this helpful
Report
Reviewed in the United States on March 15, 2017
Absolutely terrible!
3 people found this helpful
Report
Reviewed in the United States on January 4, 2018
Developing for the Mac for more than 13 years and many other operating systems and CPU architectures for more than two decades, I've learnt a lot about what makes code performant. Yet I still learnt new things and picked up new ideas reading this book. If you're serious about writing performant code (not only) for Apple's platforms, I can wholeheartedly recommend this unique collection of knowledge, opinions and advice.

Top reviews from other countries

Translate all reviews to English
N. DOERNER
5.0 out of 5 stars Must-Read für alle Mac- und iOS-Entwickler!
Reviewed in Germany on January 4, 2018
Das Programmieren von hübschen Programmen für den Mac oder das iPhone wird heute immer leichter, leistungsfähige Frameworks machen es einfach, auch komplexe Benutzerschnittstellen mit wenigen Mausklicks zusammenzubauen, und dann mit Leben zu füllen.

Aber was, wenn so ein Programm eines Tages richtig große Datenmengen verarbeiten muß? Wenn sich die Anwender beschweren, daß es langsamer und langsamer wird?

Dann ist eine sorgfältige Analyse der Schwachstellen erfoderlich, genaue Performance-Mesungen, und die richtigen Entscheidungen, wie mit diesen Informationen umzugehen ist.

Genau davor schrecken leider viele Entwickler zurück. Dabei gibt es jetzt dieses wunderbare Buch, das die nötigen Schritte ausgiebig darstellt und erläutert.
Natürlich werden Tools wie Instruments von Xcode erläutert, und bis in große Details auf mögliche Performance-Fallen und ihre Lösungen eingegangen.

Auch erfahrene Entwickler können hier noch so machen Tricks lernen, daher sollte dieses Buch zum Standard-Repertoire eines jeden Entwicklers gehören.