SwiftUI Weekly - Issue #123
The curated collection of links about SwiftUI. Delivered every Monday.
Sponsor
Spot the differences, merge in seconds — kaleidoscope.app
Kaleidoscope gives you power tools to use at each stage of the development cycle. Compare source code, resolve git merge conflicts, debug with the kspo command, and check your XCTest results. Get 20% off by using coupon SwiftUIWeekly.
Reading
Building custom layout in SwiftUI. Caching.
In the previous post, we talked about the basics of the new Layout protocol. Today I’m going to continue the series of posts about the new opportunity to build super-custom reusable layouts by covering the idea of caching layout information and tuning its performance.
Prototyping SwiftUI interfaces with OpenAI's ChatGPT
Understand how to use OpenAI's ChatGPT conversational machine learning model to create working code for SwitfUI apps within a few minutes.
Animated Background in SwiftUI
Learn how to animate shapes using trim and stroke. In this tutorial, we use SwiftUI animations to give life to your app and amaze your users.
Sheets in SwiftUI explained with code examples
Sheets in SwiftUI allow you to present a view on top of another. Learn how you can control multiple sheets using a generic solution.
Video
NavigationStack - SwiftUI Programmatic Navigation
I explain how to use the new NavigationStack to navigate between views in SwiftUI. You will learn the fundamentals of NavigationStack and how to navigate programmatically in SwiftUI using values (data) and not views.
SwiftUI Bar Chart with Customizations
Swift Charts was introduced in iOS 16 and is an amazing framework that allows us to easily create charts in SwiftUI. In this video we will build a bar chart and I will show you how to customize the x and y axis, bar colors, and more.
App Review Request iOS 16
In this video we are going to be looking at how we can use the new requestReview environment value to get an instance of the RequestReviewAction struct so that we can have the app make that request on our behalf.