Supercharging SwiftUI Text with Dynamic Content Styling
A guide to extending SwiftUI's Text view with custom dynamic styling for individual words or segments using replacements and Markdown.
Daniel Saidi is a freelance engineer specializing in app and product development for Apple platforms. He writes and builds open-source tools focused on Swift, SwiftUI, and modern iOS/macOS development.
96 articles from this blog
A guide to extending SwiftUI's Text view with custom dynamic styling for individual words or segments using replacements and Markdown.
Announcing a talk at iOSKonf25 on distributing and monetizing closed-source SDKs using Swift Package Manager.
A developer reflects on the 13-year journey of maintaining Wally, a digital wallet app, through iOS updates and design shifts.
A quick guide to enabling case-insensitive file and folder autocomplete in the macOS Terminal by editing the .zshrc file.
Explains how the new SwiftUI @Entry macro simplifies creating custom environment values, making the EnvironmentKit library obsolete.
Blog author removes Disqus commenting due to intrusive, irrelevant ads, replacing it with social media discussion links.
A tutorial on implementing a debounced search context in SwiftUI to improve performance by reducing unnecessary network calls during user input.
A guide to creating lightweight utility apps using SwiftUI Previews within Xcode, eliminating the need for separate app installations.
A guide to creating a SwiftUI Text view that mixes plain text with tappable links using Markdown, including a custom LinkText component.
Fixing Xcode 16.1's Swift package fetch failure caused by a global Git configuration change.
A guide to replacing Fastlane automation with custom Shell scripts for building and testing Swift packages, aiming for faster builds.
Introducing GestureButton, a new open-source SwiftUI component for handling custom gestures in iOS development.
Analyzes the growing complexity of the Emoji standard, focusing on skin tone, gender, and direction variants, and discusses Apple's unprecedented removal of some emojis in iOS 17.4.
A SwiftUI tutorial on creating a reusable enum to streamline standard button types (add, delete, edit) with localization support.
Explains how to create custom environment values in SwiftUI, covering the standard method and noting updates from WWDC24.
A SwiftUI tutorial on creating a custom LabelStyle to tint only the icon, leaving the text color unchanged.
A guide to customizing the default file header comment for new Swift files created within a Swift Package, using an IDETemplateMacros.plist file.
Explains how to use Xcode 15's DocC to document and create links to native Swift type extensions for better API discoverability.
A guide to automating the build and deployment of Swift Package DocC documentation to GitHub Pages using GitHub Actions.
Explains how Swift's inout parameters reduce code duplication, with examples from a real open-source project.