Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/peterfriese/SwiftUI-Concurrency-Essentials

Code for my article / video series "SwiftUI Concurrency Essentials"
https://github.com/peterfriese/SwiftUI-Concurrency-Essentials

async-await concurrency swift swiftui

Last synced: 3 months ago
JSON representation

Code for my article / video series "SwiftUI Concurrency Essentials"

Lists

README

        

[![Swift][swift-shield]][swift-url]
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![Discussions][discussions-shield]][discussions-url]
[![Feature Requests][featurerequest-shield]][featurerequest-url]
[![License][license-shield]][license-url]





Logo

SwiftUI Concurrency Essentials


An introduction to using Swift's new concurrency features in SwiftUI




Follow me on Twitter
·
Discuss with me
·
Report Bug
·
Request Feature

# Articles and videos

The code in this repository accompanies a series of articles and videos that aim at providing a gentle introduction to Swift Concurrency in the context of SwiftUI.

| | Topic | Article | Video | Code |
|------------------------ |------------------------------------------------------------------ |----------------------------------------------------------------------------- |-------------------------------------- |-------------------------------------- |
|

  • [x]
| Getting started with Swift Concurrency in SwiftUI | [link](https://peterfriese.dev/posts/swiftui-concurrency-essentials-part1/) | [link](https://youtu.be/pvtWLmSRimk) | [WordBrowser](WordBrowser) |
|
  • [x]
| Using Task cancellation for more efficient UIs | [link](https://peterfriese.dev/posts/swiftui-concurrency-essentials-part2/) | [link](https://youtu.be/KdHd4rwK_oc) | [TaskCancellation](TaskCancellation) |
|
  • [x]
| Fetching images asynchronously using `AsyncImage` | | | |
|
  • [ ]
| Running work in parallel with Swift Structured Concurrency | | | |
|
  • [ ]
| Using Firebase's asynchronous APIs with async/await | | | |
|
  • [ ]
| Refactoring and other tooling | | | |
|
  • [ ]
| Swift Concurrency and SwiftUI behind the scenes | | | |
|
  • [x]
| **The Future of Combine**, or: Combining async/await and Combine | [link](https://peterfriese.dev/posts/combine-vs-async/) | | [CombiningAsync](CombiningAsync) |

# Contributing

Contributions are welcome!

* If you found a typo in an article or a bug in one of the samples, consider [filing a bug report](https://github.com/peterfriese/SwiftUI-Concurrency-Essentials/issues/new?assignees=&labels=&template=bug_report.md&title=)
* Even better, consider fixing the bug and sending me a PR
* If you've got suggestions for other things I should write/talk about, send me a [feature request](https://github.com/peterfriese/SwiftUI-Concurrency-Essentials/issues/new?assignees=&labels=&template=feature_request.md&title=)
* Want to discuss w/ me and the other folks on this repository? Come on over to the [discussions forum](https://github.com/peterfriese/SwiftUI-Concurrency-Essentials/discussions)!

# Requirements

* Xcode 13
* Swift 5.6

# License

Distributed under the Apache 2 License. See `LICENSE` for more information.

[contributors-shield]: https://img.shields.io/github/contributors/peterfriese/SwiftUI-Concurrency-Essentials.svg?style=flat-square
[contributors-url]: https://github.com/peterfriese/SwiftUI-Concurrency-Essentials/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/peterfriese/SwiftUI-Concurrency-Essentials.svg?style=flat-square
[forks-url]: https://github.com/peterfriese/SwiftUI-Concurrency-Essentials/network/members
[stars-shield]: https://img.shields.io/github/stars/peterfriese/SwiftUI-Concurrency-Essentials.svg?style=flat-square
[stars-url]: https://github.com/peterfriese/SwiftUI-Concurrency-Essentials/stargazers
[issues-shield]: https://img.shields.io/github/issues/peterfriese/SwiftUI-Concurrency-Essentials.svg?style=flat-square
[issues-url]: https://github.com/peterfriese/SwiftUI-Concurrency-Essentials/issues
[license-shield]: https://img.shields.io/github/license/peterfriese/SwiftUI-Concurrency-Essentials.svg?style=flat-square
[license-url]: https://github.com/peterfriese/SwiftUI-Concurrency-Essentials/blob/master/LICENSE.txt

[linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555
[linkedin-url]: https://www.linkedin.com/in/peterfriese
[product-screenshot]: images/screenshot.png

[swift-shield]: https://img.shields.io/badge/swift-5.6-FA7343?logo=swift&color=FA7343&style=flat-square
[swift-url]: https://swift.org

[xcode-shield]: https://img.shields.io/badge/xcode-12.5_beta-1575F9?logo=Xcode&style=flat-square
[xcode-url]: https://developer.apple.com/xcode/

[featurerequest-url]: https://github.com/peterfriese/SwiftUI-Concurrency-Essentials/issues/new?assignees=&labels=type%3A+feature+request&template=feature_request.md
[featurerequest-shield]: https://img.shields.io/github/issues/peterfriese/SwiftUI-Concurrency-Essentials/feature-request?logo=github&style=flat-square
[discussions-url]: https://github.com/peterfriese/SwiftUI-Concurrency-Essentials/discussions
[discussions-shield]: https://img.shields.io/badge/discussions-brightgreen?logo=github&style=flat-square