Concurrent Programming in Mac OS X and iOS. Unleash Multicore Performance with Grand Central Dispatch - Helion
ISBN: 978-14-493-1007-3
stron: 60, Format: ebook
Data wydania: 2011-05-24
Księgarnia: Helion
Cena książki: 50,91 zł (poprzednio: 59,89 zł)
Oszczędzasz: 15% (-8,98 zł)
Now that multicore processors are coming to mobile devices, wouldn't it be great to take advantage of all those cores without having to manage threads? This concise book shows you how to use Apple's Grand Central Dispatch (GCD) to simplify programming on multicore iOS devices and Mac OS X.
Managing your application’s resources on more than one core isn't easy, but it's vital. Apps that use only one core in a multicore environment will slow to a crawl. If you know how to program with Cocoa or Cocoa Touch, this guide will get you started with GCD right away, with many examples to help you write high-performing multithreaded apps.
- Package your code as block objects and invoke them with GCD
- Understand dispatch queues—the pools of threads managed by GCD
- Use different methods for executing UI and non-UI tasks
- Create a group of tasks that GCD can run all at once
- Instruct GCD to execute tasks only once or after a delay
- Discover how to construct your own dispatch queues
Osoby które kupowały "Concurrent Programming in Mac OS X and iOS. Unleash Multicore Performance with Grand Central Dispatch", wybierały także:
- Zen Steve'a Jobsa 29,67 zł, (8,90 zł -70%)
- Programowanie aplikacji mobilnych dla iOS z wykorzystaniem Xcode, Swift 3.0 i iOS 10 SDK. Kurs video. Poziom pierwszy 99,00 zł, (44,55 zł -55%)
- Flutter i Dart 2 dla początkujących. Przewodnik dla twórców aplikacji mobilnych 89,00 zł, (44,50 zł -50%)
- Dostosuj się lub giń. Jak odnieść sukces w branży aplikacji mobilnych 44,90 zł, (22,45 zł -50%)
- Podstawy języka Swift. Programowanie aplikacji dla platformy iOS 49,00 zł, (24,50 zł -50%)
Spis treści
Concurrent Programming in Mac OS X and iOS. Unleash Multicore Performance with Grand Central Dispatch eBook -- spis treści
- Concurrent Programming in Mac OS X and iOS
- SPECIAL OFFER: Upgrade this ebook with OReilly
- A Note Regarding Supplemental Files
- Preface
- Audience
- Conventions Used in This Book
- Using Code Examples
- Safari Books Online
- How to Contact Us
- Content Updates
- June 3, 2011
- Acknowledgments
- 1. Introducing Block Objects
- Short Introduction to Block Objects
- Constructing Block Objects and Their Syntax
- Variables and Their Scope in Block Objects
- Invoking Block Objects
- Memory Management for Block Objects
- 2. Programming Grand Central Dispatch
- Short Introduction to Grand Central Dispatch
- Different Types of Dispatch Queues
- Dispatching Tasks to Grand Central Dispatch
- Performing UI-Related Tasks
- Performing Non-UI-Related Tasks Synchronously
- Performing Non-UI-Related Tasks Asynchronously
- Performing Tasks After a Delay
- Performing a Task at Most Once
- Running a Group of Tasks Together
- Constructing Your Own Dispatch Queues
- About the Author
- SPECIAL OFFER: Upgrade this ebook with OReilly