A technique for building lightweight internal utility apps using SwiftUI Previews inside Swift Packages, without needing to install anything on a device or simulator. The author demonstrates this with a 'Locale Explorer' app for the KeyboardKit project — under 200 lines of code, built in under 30 minutes — featuring NavigationSplitView, AppStorage persistence, search, and multi-screen navigation, all runnable directly from Xcode's Canvas.

10m read timeFrom danielsaidi.com
Post cover image
Table of contents
BackgroundLocale ExplorerMultiple appsCodeComplete codeConclusion
6 Impressions