SwiftUI Weekly - Issue #112
The curated collection of links about SwiftUI. Delivered every Monday.
Reading
Content transition in SwiftUI
View transitions are available from the very first version of the SwiftUI framework. The framework can apply a particular transition whenever the view is removed or added to the view hierarchy. The latest iteration of the SwiftUI framework brings us a new type of transition called content transitions. It allows us to apply a particular transition to the content of the view whenever it changes. This week we will learn how to use the new API to apply content transition in SwiftUI.
What is the fixedSize modifier in SwiftUI
When you read SwiftUI tutorials, you might stumble on the fixedSize() modifier. Let's see what it is and why we need it.
SwiftUI's Table View on iOS 16
Learn how to use Table, a collection view in SwiftUI, to show data in multiple columns on iOS and iPad and what is needed to implement compact-specific logic.
Getting started with the SwiftUI NavigationSplitView
SwiftUI 4 adds a new NavigationSplitView component that simplifies creating rich sidebar-based experiences on iPad and macOS, while automatically scaling down to a NavigationStackView (also new) on iPhone. It’s a powerful component that however can be a bit tricky to get started with, so let’s take a look at how to use it and some ways to style it.
Create a line chart with SwiftUI Charts in iOS 16
How to create a line chart with SwiftUI Charts in iOS 16.
Change TextEditor background in iOS 16
We can set a custom background for TextEditor in SwiftUI by using a combination of scrollContentBackground() and background() view modifiers.
Video
SwiftUI Animated Carousel
In this video, I will teach how to create Stylish Movie App UI With Animated Carousel Slider using SwiftUI 4.0.