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.
Learn how to change the default position of y-axis in Swift Charts by using chartYAxis() modifier.
The default alignment of SwiftUI List row separators has changed in iOS 16. We also have some new APIs to customize separator insets.
Tap gesture in SwiftUI now provides the tap location and we can request it in local or global coordinate space.
Starting from iOS 16 and macOS 13 SwiftUI List view can automatically generate move and delete operations without the need of onDelete() and onMove() closures.
With enhanced text modifiers in iOS 16 and macOS 13, it's easy to animate changes to text styles such as font size and weight.
Draw a custom SwiftUI view to replace the symbols in a scatter plot in Swift Charts.
Present a half-sheet in SwiftUI by specifying supported detents with the new presentationDetents() modifier in iOS 16.
Set custom background for a navigation bar in iOS 16 using new SwiftUI toolbarBackground() modifier.
Trigger actions with onChange() modifier in SwiftUI that depend on multiple properties changing by combining the logic in a computed property.
Make use of ControlActiveState value in the environment to customize the appearance of key window on macOS in SwiftUI.
Explore different ways to iterate over items and indices in a collection and learn why enumerated() is not a good fit for it.
Learn how to size and scale symbol images in SwiftUI and why we shouldn't use resizable() modifier with SF Symbols.
Hide and show a view based on a setting or state without shifting the layout by using opacity() modifier in SwiftUI.
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.
SwiftUI Text views can automatically parse Markdown strings when created with LocalizedStringKey. Markdown isn't parsed when created with a String variable or with verbatim initializer.
Customize actions for links inside Text views in SwiftUI by using openURL environment value.
Set underline and strikethrough styles in AttributedString and display it with SwiftUI Text view.
Allow users to select the contents of SwiftUI Text view, to be able to copy or share it, by applying textSelection() modifier.
Make use of Xcode shortcuts to correct code indentation quickly.
Define your own operator that lets you use String as default value for any Optional type in debug prints.
Provide state restoration for expanded rows in a SwiftUI List view with SceneStorage property wrapper.