SwiftUI Weekly - Issue #71
The curated collection of links about SwiftUI. Delivered every Monday.
Implementing Three Column Navigation in SwiftUI
Learn how to implement three-column navigation in SwiftUI and make macOS and iPad apps that provide a navigation experience familiar to users.
Running tasks concurrently with Swift Concurrency’s async let
In last week's post, I demonstrated how you can use a task group in Swift to concurrently run multiple tasks that produce the same output. This is useful when you're loading a bunch of images, or in any other case where you have a potentially undefined number of tasks to run, as long as you (somehow) make sure that every task in your group produces the same output.
Using Swift Concurrency’s task group for tasks with varying output
Earlier, I published a post on Swift Concurrency's task groups. If you haven't read that post yet, and you're not familiar with task groups, I recommend that you read that post first because I won't be explaining task groups in this post. Instead, you will learn about a technique that you can use to work around a limitation of task groups.
SwiftUI's new onSubmit modifier
A dive into the new search and textfield submission pattern.
Introducing PagerTabStripView! - Finally a PagerView in pure SwiftUI
Creating a production-ready pager view could take several hours, even days, for an engineering team. Apple recently introduced a pager version on top of its native TabView, trying to address the growing demand for pager views, but it lacks flexibility. It is pretty much the TabView with swipe gestures. Its customization level is so limited that it ends up not working in most cases.
PagerTabStripView • First Pager View written in pure SwiftUI.
Gradient Blur Image in SwiftUI
Today we look into how Apple manages to make a gradient blur as they do in the App Store & TV App.