SwiftUI Weekly - Issue #131
The curated collection of links about SwiftUI. Delivered every Monday.
Sponsor
Glassfy
Simplify building, managing, and growing in-app purchases. Offload backend work and building paywalls to us. Build for free today.
Reading
Mastering charts in SwiftUI. Interactions.
The Swift Charts framework provides excellent functionality for implementing super custom charts. This week we will learn how to handle user input with gestures to build interactive charts. The Chart type is a simple SwiftUI view, which means you can attach gestures and buttons to interact with the chart.
SwiftUI Multi-data type chart
In iOS 16 Apple introduced Swift Charts, which makes generating beautiful charts both quick and easy. Although creating a line chart in Swift Charts using SwiftUI is not all to difficult, making one with two different data types might be another story. In this article I will go over how to create such a chart.
Adding a stretchable and sticky header to a SwiftUI ScrollView
As we’ve previously looked at how to implement offset tracking and stretchable headers for SwiftUI scroll views, let’s now combine them to implement a scroll view header that stretches out when you pull down and sticks to the navigation bar as you scroll.
SwiftUI Environment Tips
In our SwiftUI workshop we always include an exercise where you learn about how the environment works. Often, we build some kind of stylesheet that gets passed down the environment, from the root view.
A Beginner’s Guide to Styling Components in SwiftUI
Hallo vrienden en collega’s, Leo hier. Today we will learn the best way to styling components in SwiftUI, especially with ButtonStyle.
Timer in SwiftUI
The ability to run some code periodically is an important task in iOS development.
Videos
SwiftUI Animated Sticky Header With Auto Scrollable Tabs
In this Video I'm going to teach how to create a stylish animated sticky header with auto scrollable tab indicators for ScrollView using SwiftUI 4.0.