If you are enjoying our blog and would like to support us, you can now sponsor us on GitHub
We can customize how the user navigates through focusable views in our macOS apps with the help of the new focusSection() modifier.
Build a bar chart using data with values of type Measurement<UnitDuration> that doesn't conform to Plottable by default.
Let users configure the visible items in the center area of the toolbar on iPadOS 16 to suit their personal workflows.
Learn how to use the new openWindow action in SwiftUI to programmatically present new windows in macOS 13.
Set a custom background for TextEditor in SwiftUI by using a combination of scrollContentBackground() and background() view modifiers.
We can use the new Duration type from Foundation to represent an elapsed time value and format it using the new TimeFormatStyle.
To sort an array based on a particular property in Swift, we can use the KeyPathComparator API from Foundation in combination with sorted(using:) method.
Make use of the new clock APIs in Swift 5.7 to delay an async task by a certain duration without calling the old method that accepts nanoseconds.
Build a custom ridge chart with the new Swift Charts framework to show the distribution of a numeric variable for several groups.
In this article we'll go over all the API additions in iOS 16 to present and customize resizable sheets in SwiftUI. We'll also look at API limitations comparing to UISheetPresentationController in UIKit.
Look into how to insert images, formatted data, attributed strings etc. inside SwiftUI Text views by leveraging the power of string interpolation in LocalizedStringKey.
We have several ways to customize the visual style of links placed inside Text views in SwiftUI: tint() modifier, different Text modifiers and attributes in AttributedString.