
iOS and macOS Performance Tuning
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
In iOS and macOS (TM) 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 up-to-date guide focuses entirely on performance optimization for macOS and iOS. Drawing on 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
All prices
More details
Other editions
Additional editions

Person
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.
Content
Chapter 2: CPU: Measurement and Tools
Chapter 3: CPU: Pitfalls and Techniques
Chapter 4: CPU Example: XML Parsing
Chapter 5: Memory: Principles
Chapter 6: Memory: Measurement and Tools
Chapter 7: Memory: Pitfalls and Techniques
Chapter 8: Memory Example: FilterStreams
Chapter 9: Swift
Chapter 10: I/O: Principles
Chapter 11: I/O: Measurement and Tools
Chapter 12: I/O: Pitfalls and Techniques
Chapter 13: I/O: Examples
Chapter 14: Graphics and UI: Principles
Chapter 15: Graphics and UI: Measurement and Tools
Chapter 16: Graphics and UI: Pitfalls and Techniques
Chapter 17: Graphics and UI: Examples
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.
File format: ePUB
Copy protection: Watermark-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use a reading software that can process the file format ePUB: e.g., Adobe Digital Editions or FBReader – both free (see eBook Help).
- Tablet/Smartphone (Android; iOS): Before downloading, install the free app Adobe Digital Editions (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePUB works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Watermark-DRM, a „soft” copy protection. This means that there are no technical restrictions to prevent illegal distribution. However, there is a personalised watermark embedded in the eBook that can be used to identify the purchaser of the eBook in the event of misuse and to provide evidence for legal purposes.
For more information, see our eBook Help page.