By taking advantage of provisional authorization for notifications, we can provide a gentle introduction to our app's notifications without upfront permission from the user.
Guide users through resolving issues and make your Swift applications more intuitive and supportive by defining user-friendly descriptions and recovery suggestions for custom errors.
Explore the practical applications and distinctions of self, Self, and Self.self in Swift, clarifying their roles in instance referencing, protocol conformance, and metatype access.
Discover how string comparison methods from Foundation outperform basic case conversion, ensuring precise, efficient, and culturally aware comparisons in our applications.
Add custom foreground styles such as gradients to words inside Text view in SwiftUI in iOS 17.
In Xcode 15 code completion we can view all the possible permutations of function parameters by pressing the right arrow key.
The focusable() modifier now available on iPadOS 17 allows us to provide full keyboard navigation, even including custom views not focusable by default.
Starting from iOS 17 and iPadOS 17 we can now use ControlGroup to display a horizontal collection of actions in a context menu.
Permanently position a view at the bottom of the screen in a SwiftUI app by placing it inside the safeAreaInset() modifier.
Generate xcloc files that can be sent to translators directly from SwiftUI code and import translations back to create Localizable.strings files.
Visualise data distributions by building a histogram and a 2D density plot with the new Swift Charts framework.
Starting from iOS 16 and macOS 13 we have a SwiftUI API to request App Store reviews. We can read requestReview property from the environment and call it as a function at the appropriate time.