SwiftUI
Learn more and get better in building apps with SwiftUI.
Using NavigationLink programmatically based on binding in SwiftUI
NavigationLink in SwiftUI allows pushing a new destination view on a navigation controller. You can use NavigationLink in a list ...
Read More
Read More
Markdown rendering using Text in SwiftUI
SwiftUI comes with built-in markdown support for text, making it easy to transform the text into bold, italic, and other ...
Read More
Read More
Downloading and Caching images in SwiftUI
Downloading and caching images is an essential part of building apps in Swift. There are several ways of downloading images ...
Read More
Read More
Disable animations on a specific view in SwiftUI using transactions
Animations in SwiftUI look great and make your app shine, but sometimes you want to disable animations on a specific ...
Read More
Read More
Error alert presenting in SwiftUI simplified
Presenting error alerts in apps is essential to communicate failures to your end-users. The happy flow of apps is often ...
Read More
Read More
@Published risks and usage explained with code examples
@Published is one of the property wrappers in SwiftUI that allows us to trigger a view redraw whenever changes occur ...
Read More
Read More
@StateObject vs. @ObservedObject: The differences explained
The @StateObject and @ObservedObject property wrappers tell a SwiftUI view to update in response to changes from an observed object ...
Read More
Read More
How to use the Redacted View Modifier in SwiftUI with useful extensions
The redacted view modifier in SwiftUI allows us to create a so-called skeleton view while our data is loading. Using ...
Read More
Read More
Debugging SwiftUI views: what caused that change?
Debugging SwiftUI views is an essential skill to own when writing dynamic views with several redrawing triggers. Property wrappers like ...
Read More
Read More
@EnvironmentObject explained for sharing data between views in SwiftUI
@EnvironmentObject is part of the family of SwiftUI Property Wrappers that can make working with SwiftUI views a little easier ...
Read More
Read More
How to create a Conditional View Modifier in SwiftUI
Conditional View Modifier creation in SwiftUI allows you only to apply modifiers if a certain condition is true. Whether it's ...
Read More
Read More
How to create a Dynamic Pager View for onboardings
A pager view in SwiftUI like we know UIPageViewController in UIKit didn't exist until iOS 14 and macOS 11.0. Using ...
Read More
Read More