Concurrency & Parallelism in iOS
-
Updated
May 14, 2019 - Swift
Concurrency & Parallelism in iOS
Example of combining NSURLSession with NSOperation to form one task
An Xcode 9 written with Swift 4 to introduce concurrency using BlockOperation, a "concrete subclass of Operation that manages the concurrent execution of one or more blocks." [1]
A java based implementation of NS Operation Queue
Make your logic flow and data flow clean and human readable
A Wrapper on NSOperation, which Makes using of NSOperation More Efficient
Useful Swift NSOperation and NSOperationQueue subclasses
An example project to show how it's possible to coalesce NSOperation subclasses's callbacks with reduced boilerplate compared to previous examples
Abstract generic wrapper around Foundation’s Operation class
Example of using GCD/NSOperation barrier tasks & DispatchGroup
The beautiful way to chain your services logic
Let's do tasks asynchronously and sequentially
A demo app demonstrating the use of NSOperationQueue in Swift to parallelize network requests.
Guide: How to unit test asynchronous code in Swift https://www.vadimbulavin.com/unit-testing-async-code-in-swift/
An example project to show how it's possible to coalesce NSOperation subclasses's callbacks
An Xcode template for tests that verify the correct behavior of any NSOperation subclass in Objective-C or Swift.
This is a image slide show app using NSOperation for image downloading
An example project looking at how to coalesce networking calls using NSOperation subclasses
This is a custom NSOperation for easy to use. DRKOperation was inspired by Apple MVCNetworking project. This project provides block base operation like NSBlockOperation but you can decide when to finished the current task.
µFramework consisting of `NSOperationQueue` subclasses (Swift & Obj-C) which allow scheduling operations in serial subgroups inside a concurrent queue
Add a description, image, and links to the nsoperationqueue topic page so that developers can more easily learn about it.
To associate your repository with the nsoperationqueue topic, visit your repo's landing page and select "manage topics."