Setting up a custom Swift Package file header
A guide to customizing the default file header comment for new Swift files created within a Swift Package, using an IDETemplateMacros.plist file.
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.
100 articles from this blog
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.
Investigates a bug in iOS 17.2+ causing custom keyboard extensions with Swedish (se.) bundle IDs to disappear from settings and the keyboard switcher.
The EmojiKit SDK for Swift is being open-sourced, moving from a commercial product to a free, public GitHub repository.
A tutorial on using the open-source Swift package ApiKit to integrate with and model REST APIs, using the Yelp API as an example.
Developer explains the technical challenges and user reception that led to sunsetting the Goth & Metal Emoji apps after 8 years.
Developer announces the sunsetting of three long-running iOS card-based apps after 12 years, to focus on other projects.
An Apple developer shares the holiday story of their new emoji picker app being rejected from the iOS App Store for mimicking Apple's native emoji catalog.
A guide to implementing quick, keyboard-first search in SwiftUI using the .searchable modifier, with platform-specific solutions for iOS and macOS.
A guide to customizing the macOS About Panel in a SwiftUI application using project settings, bundle files, and code.
A tutorial on customizing the macOS app menu bar using SwiftUI's CommandMenu and CommandGroup modifiers.
A developer reflects on the successful technical launch of KeyboardKit 8 but expresses disappointment over the lack of user traction and signups.
A SwiftUI tutorial on how to make a multiline TextField dismiss the keyboard when the return key is pressed, using FocusState and custom modifiers.
A tutorial on implementing drag-and-drop reordering functionality for LazyVGrid, LazyHGrid, LazyVStack, and LazyHStack in SwiftUI.
A guide to creating cleaner and more readable grid initialization code in SwiftUI using custom extensions for GridItem.
A SwiftUI Menu with an icon label can cause list separator lines to misalign. This article presents a custom menu style workaround to fix this visual bug.
A guide to extending Codable types in SwiftUI to work with AppStorage and SceneStorage for persistent data storage.
A guide to using semantic SwiftUI extensions to conditionally apply new iOS features while maintaining backward compatibility with older OS versions.