Discover more from SwiftUI Weekly
SwiftUI Weekly - Issue #71
The curated collection of links about SwiftUI. Delivered every Monday.
Learn how to implement three-column navigation in SwiftUI and make macOS and iPad apps that provide a navigation experience familiar to users.
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.
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.
A dive into the new search and textfield submission pattern.
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.
Today we look into how Apple manages to make a gradient blur as they do in the App Store & TV App.