Concurrency by Tutorials [SUBSCRIBER]

Concurrency by Tutorials [SUBSCRIBER]

Sale


$29.99
$39.99

  • Platform
    iOS 12

  • Language
    Swift four.2

  • Editor
    Xcode 10

The ebook that teaches you all the things there’s to learn about easy methods to write performant and concurrent code to your iOS apps.

Notice: This ebook is in Early Entry. You’ll get advance entry to the ebook whereas it’s in growth, and also you’ll get a free replace to the whole digital version of the ebook when it’s full!

Estimated closing launch date: Fall 2019.

Developer Information

Intermediate

Dive Into Concurrency in Your iOS Apps!

Study what’s Concurrency and why would you even wish to put it to use in your apps? Find out about Grand Central Dispatch, Apple’s implementation of C’s libdispatch, also referred to as GCD, because it’s one of many easiest methods to queue up duties to be run in parallel. Then, tackle Operations & Operation Queues for when GCD does not fairly reduce it; you may discover ways to additional customise and reuse your concurrent work. You will then study widespread concurrency issues that you might face whereas growing concurrent purposes, reminiscent of Race Circumstances, Deadlocks, and extra. Lastly, perceive threads and thread sanitizer and the assorted threading-related ideas and the way these connect with the data you’ve got gathered all through this ebook. You will additionally discover ways to use Thread Sanitizer to ease your debugging when issues go improper.

Desk of Contents

Part 1: Getting Began with Concurrency

On this a part of the ebook, you’re going to study in regards to the fundamentals of Concurrency. You are going to study what it’s, what sort of issues it solves, and why would you even use it? Additional, you’ll study the fundamental items of which Concurrency includes in Cocoa growth: Grand Central Dispatch and Operations.

This part will give you the foundational data relating to Concurrency, so make sure to learn by way of! The upcoming sections will dive a lot deeper into every of those ideas individually.

1.

Introduction
– New

Get a fast overview of what concurrency is and why you would possibly wish to use it.

2.

GCD vs. Operations
– New

Concurrency will be dealt with by both Grand Central Dispatch (GCD) or Operations. Study in regards to the variations.

Part II: Grand Central Dispatch

On this part, you may take a deep dive into Apple’s hottest and easy-to-use mechanism to put in writing and handle concurrent duties – Grand Central Dispatch. You will discover ways to make the most of queues and threads to regulate the execution of duties in your app, in addition to easy methods to group these duties collectively. You will additionally find out about widespread pitfalls and risks of utilizing concurrency, and how one can keep away from them.

three.

Queues & Threads
– New

This chapter teaches you easy methods to use a GCD queue to dump work from the primary thread. You will additionally study what a “thread” is.

four.

Teams & Semaphores
– New

Within the earlier chapter you discovered about how queues work. On this chapter you may increase that data to discover ways to submit a number of duties to a queue which must run collectively as a “group” so to be notified once they have all accomplished. You will additionally discover ways to wrap an present API so to name it asynchronously.

5.

Concurrency Issues
– New

By now you know the way GCD could make your app a lot quicker. This chapter will present you a number of the risks of concurrency if you happen to’re not cautious, and easy methods to keep away from them.

Part III: Operations

Despite the fact that Grand Central Dispatch offers a lot of the concurrency capabilties you may want proper out-of-the-box, generally you may need some further customizability. That is the place Operations come into play. This part will train you about Operations, Operation Queues, and all the things in between.

6.

Operations
– New

On this chapter you may swap gears and begin studying in regards to the Operations class, which permits for way more highly effective management over your concurrent duties.

7.

Operation Queues
– New

Just like the Dispatch Queues you discovered about again in Chapter three, the Operation class makes use of an OperationQueue to carry out an analogous operate.

eight.

Asynchronous Operations
– New

Now which you could create an Operation and submit it to a queue, you may discover ways to make the operation itself asynchronous. Whereas not one thing you may do frequently, it is necessary to know that it is potential.

9.

Operation Dependencies
– New

The “killer function” of Operations is having the ability to inform the OS that one operation relies on one other and should not being till the dependency has completed.

10.

Canceling Operations
– New

There are occasions when you want to cease an operation that’s working, or has but to start out. This chapter will train you the ideas that you simply want to concentrate on to help cancelation.

Part IV: Actual-Life Concurrency

To wrap up this ebook, this part shall be devoted to displaying you ways all the data you’ve got gathered all through this ebook can be utilized for real-life purposes.

On this part you may take a deeper dive into a standard case the place concurrency performs an enormous function — Core Information, in addition to find out about Apple’s Thread Sanitizer as an important device to debug and resolve concurrency points and confusions.

11.

Core Information
– Coming Quickly

Core Information works effectively with concurrency so long as you retain a couple of easy guidelines in thoughts. This chapter will train you easy methods to guarantee that your Core Information app is ready to deal with concurrency correctly.

12.

Thread Sanitizer
– Coming Quickly

Information races happen when a number of threads entry the identical reminiscence with out synchronization and a minimum of one entry is a write. This chapter will train you easy methods to use Apple’s Thread Sanitizer to detect knowledge races.

Concurrency by Tutorials

The ebook that teaches you all the things there’s to learn about easy methods to write performant and concurrent code to your iOS apps.

Notice: This ebook is in Early Entry. You’ll get advance entry to the ebook whereas it’s in growth, and also you’ll get a free replace to the whole digital version of the ebook when it’s full!

Estimated closing launch date: Fall 2019.

Prime

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.