{"id":13612968,"url":"https://github.com/briancoyner/AsyncWorkflow","last_synced_at":"2025-04-13T15:32:21.322Z","repository":{"id":141955366,"uuid":"144094748","full_name":"briancoyner/AsyncWorkflow","owner":"briancoyner","description":"Techniques for building \"async workflows\" using `NSOperation` and `NSOperationQueue`.","archived":false,"fork":false,"pushed_at":"2019-04-19T21:55:49.000Z","size":9588,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-07T21:41:34.058Z","etag":null,"topics":["async","cocoaheads","grand-central-dispatch","nsoperation","nsoperationqueue","nsprogess","swift","xcode10"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/briancoyner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-08-09T03:08:41.000Z","updated_at":"2019-04-19T21:53:00.000Z","dependencies_parsed_at":"2024-01-16T23:30:17.457Z","dependency_job_id":"15ec25e3-bb67-426b-9d16-2e385a0672fd","html_url":"https://github.com/briancoyner/AsyncWorkflow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briancoyner%2FAsyncWorkflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briancoyner%2FAsyncWorkflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briancoyner%2FAsyncWorkflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briancoyner%2FAsyncWorkflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/briancoyner","download_url":"https://codeload.github.com/briancoyner/AsyncWorkflow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248735864,"owners_count":21153486,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","cocoaheads","grand-central-dispatch","nsoperation","nsoperationqueue","nsprogess","swift","xcode10"],"created_at":"2024-08-01T20:00:37.384Z","updated_at":"2025-04-13T15:32:19.693Z","avatar_url":"https://github.com/briancoyner.png","language":"Swift","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"## Async Workflow\n\nAll apps have asynchronous workflows. Apple's `NSOperation` and `NSOperationQueue` provide a foundation for building arbitrarily complex workflows. This demo code coincides with my [STL CocoaHeads](https://www.meetup.com/St-Louis-CocoaHeads/events/253392866/) talk on techniques for building \"async workflows\". \n\nThe demo code shows how to:\n- use dependent operations\n- pass data between operations using a thread-safe key/value store (i.e `Session`)\n- track progress using `NSProgress`\n- support an easy to understand cancellation policy\n- allow app background execution (with just a few lines of code)\n\n\n## Presentation Slides\n\nBe sure to review the CocoaHeads [presentation slides](AsyncWorkflow.pdf) for additional notes and details.\n\n## Additional Resources\n\nHere's a short list of related WWDC videos \n- WWDC 2015 [Advanced NSOperations](https://developer.apple.com/videos/play/wwdc2015/226/)\n- WWDC 2015 [Best Practices In Progress Reporting](https://developer.apple.com/videos/play/wwdc2015/232/)\n- WWDC 2017 [Modernizing Grand Central Dispatch Usage](https://developer.apple.com/videos/play/wwdc2017/706/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriancoyner%2FAsyncWorkflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbriancoyner%2FAsyncWorkflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriancoyner%2FAsyncWorkflow/lists"}