Mastering SwiftUI is now updated for iOS 15 and Xcode 13
We’ve just released an update for our SwiftUI book – Mastering SwiftUI. All the content including screenshots and source code are updated for Xcode 13 and iOS 15. On top of that, we added new chapters to cover...
SwiftUI: How to Display Web Page Using WKWebView
It is very common that you need to display web content in your apps. The iOS SDK provides three options for developers to show web content: Mobile Safari, WKWebView, and SFSafariViewController. In iOS 14 (or later), the SwiftUI...
How to Create Animated Gradients in SwiftUI
I recently got a question from a reader about how to animate gradient or create an animated gradient background using SwiftUI. The SwiftUI framework provides a number of built-in components such as LinearGradient and...
SwiftUI for iOS 15: How to Add Swipe Actions and Hide Line Separators in List View
In WWDC 21, Apple introduced some of the most anticipated enhancements for List view in the SwiftUI framework. Prior to iOS 15, it is not very straightforward to hide line separators in a List view. We’ve shown you a...