Using if/else Statements as Expressions in Swift 5.9Swift 5.9, introduced with Xcode 15, brings a powerful feature that allows developers to use if/else statements as expressions. This…19h ago19h ago
Customize the style of links embedded in TextSince iOS 15 and macOS 12 we can embed links inside Text views in SwiftUI using Markdown or AttributedString.5d ago5d ago
Setting Custom Actions for Links in SwiftUI Text ViewsStarting with iOS 15 and macOS 12, SwiftUI Text views offer the ability to include interactive links created with Markdown or…Dec 19Dec 19
Enabling Text Selection for Non-Editable Text in SwiftUIText selection is a crucial feature in user interfaces, allowing users to interact with and manipulate text content. In SwiftUI, you can…Dec 14Dec 14
Nil Coalescing for Optionals in Debug PrintsIn Swift, working with Optionals is a common practice, and debugging your code often involves printing the values of these Optionals. To…Dec 9Dec 9
State Restoration for DisclosureGroup Expansion in SwiftUI List RowsState restoration is crucial for providing a seamless user experience when working with complex SwiftUI interfaces. While it’s…Dec 9Dec 9
Re-indenting Code in XcodeMaintaining consistent code formatting is essential for readability and maintainability in any software development project. Xcode, the…Dec 4Dec 4
Markdown in SwiftUI Text ViewsStarting with iOS 15 and macOS 12, SwiftUI Text views have built-in support for parsing Markdown when created with a `LocalizedStringKey`…Nov 29Nov 29
Resizing SF Symbols in SwiftUISF Symbols have become an essential part of iOS and macOS app design, providing a consistent set of scalable icons. In SwiftUI, you can…Nov 24Nov 24
Presenting Resizable Sheets in SwiftUI with DetentsiOS 16 introduces a significant enhancement to SwiftUI by allowing developers to present resizable sheets. This feature provides greater…Nov 19Nov 19