Using Photos Picker with Concurrency - Journal Part 1

Опубликовано: 16 Июль 2024
на канале: Coding With Tom
64
1

In preparation for new stuff from WWDC 24 I created another app to work as playground. When I decided to add images, I found that there was some complexity and problems that could be solved using Swift Concurrency. So much that the first video in this series will be exactly that, adding a Photos Picker and handling the saving and loading with Concurrency.

Chapters
0:00 Using Photos Picker and Concurrency
0:40 Introducing Journal App
2:35 Creating and Navigating to JournalEntryView
7:45 Adding PhotosPicker View
11:09 Adding a PhotoService
16:40 Loading Photos in the View Model
20:00 Saving a Photo with Continuations
24:30 Saving Photos Concurrently with TaskGroup
25:45 Creating an actor to handle Collections
28:25 Fixing Loading of Photos with another TaskGroup

Playlist:    • Journal App  

Source code: https://github.com/codingWithTom/Jour...

Intro song: All That from Bensound.com
Outro song: Happiness from Bensound.com

Music: bensound.com
License code: UK2F7WUE4QJRZXWE