- Notifications
You must be signed in to change notification settings - Fork0
Techniques for building "async workflows" using `NSOperation` and `NSOperationQueue`.
License
NotificationsYou must be signed in to change notification settings
briancoyner/AsyncWorkflow
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
All apps have asynchronous workflows. Apple'sNSOperation andNSOperationQueue provide a foundation for building arbitrarily complex workflows. This demo code coincides with mySTL CocoaHeads talk on techniques for building "async workflows".
The demo code shows how to:
- use dependent operations
- pass data between operations using a thread-safe key/value store (i.e
Session) - track progress using
NSProgress - support an easy to understand cancellation policy
- allow app background execution (with just a few lines of code)
Be sure to review the CocoaHeadspresentation slides for additional notes and details.
Here's a short list of related WWDC videos
- WWDC 2015Advanced NSOperations
- WWDC 2015Best Practices In Progress Reporting
- WWDC 2017Modernizing Grand Central Dispatch Usage
About
Techniques for building "async workflows" using `NSOperation` and `NSOperationQueue`.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published