Read in this post how to define custom keys in the SwiftUI environment and have values globally accessible throughout the view hierarchy.
Performing Actions On Value Changes In SwiftUI
Read how to observe value changes and trigger additional actions when these happen with the onChange(_:) view modifier in SwiftUI.
Working with the Tab View in SwiftUI
Learn how to create tab bar based applications in SwiftUI with the Tab view, how to deal with tab items, and other interesting details.
Using the @AppStorage Property Wrapper in SwiftUI
Find out in this post about the @AppStorage property wrapper. The modern way to write to user defaults and read from it in SwiftUI based apps.
Working with Picker in SwiftUI
Read about the Picker view in SwiftUI. Learn how to present options that users can choose from, how to customize the picker, and more.
Using Action Closures with UIKit Controls
Explore how to use action closures with UIKit controls, the new alternative of the old good target-action pattern available since iOS 14.
Disclosure Group in SwiftUI
Read about the disclosure group in SwiftUI; a handy built-in view able to expand or collapse in order to show grouped content.
Presenting a Color Picker in SwiftUI
Meet the color picker view provided natively in SwiftUI since iOS 14. Learn how to integrate it and find out what features it offers to users.
Using Variadic Parameters in Swift
Learn about variadic parameters and how to implement functions that contain them and accept an arbitrary number of values.
Overloading Functions in Swift
Overloading functions in Swift is a common technique, and this post shows how to apply it and gain flexibility and convenience.