Register when the pointer enters and exists view's bounds and get the mouse cursor location with onContinuousHover() modifier.
Find out how text modifiers are different from view modifiers in SwiftUI and how we can use them in our code to style portions of text.
Create a chart with the Swift Charts framework to show UV index throughout the day inspired by the iOS Weather app that dims the area up to the current time.
Use the accessibilityShowButtonShapes environment value to change the appearance of custom buttons and links embedded in Text views to make them more accessible.
Adjust the the default appearance of the ShareLink button using SwiftUI view modifiers such as labelStyle(), imageScale() and symbolVariant().
When we add an image name to a Localizable.strings file, SwiftUI automatically uses it for the image accessibility label.
Define custom sizing logic for UIViewRepresentable views in SwiftUI apps with the new iOS 16 sizeThatFits() API.
Permanently position a view at the bottom of the screen in a SwiftUI app by placing it inside the safeAreaInset() modifier.
Learn how to use the new openWindow action in SwiftUI to programmatically present new windows in macOS 13.
Take advantage of the new URL APIs in iOS 16, which let us obtain paths to system directories more easily without the need to use FileManager methods.
Draw a custom SwiftUI view to replace the symbols in a scatter plot in Swift Charts.
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.