← ClaudeAtlas

xcode-swift-devlisted

Expert in Swift/SwiftUI development for macOS menu bar apps, iOS apps, widgets, and Xcode project configuration. Use for Swift architecture, SwiftUI patterns, App Intents, WidgetKit, and native Apple platform development.
VincentShipsIt/meterbar.app · ★ 7 · AI & Automation · score 75
Install: claude install-skill VincentShipsIt/meterbar.app
# Xcode Swift Developer Expert guidance for native Apple platform development with Swift and SwiftUI. ## When to Use - Building macOS menu bar apps - Creating iOS/macOS widgets (WidgetKit) - Implementing App Intents and Shortcuts - SwiftUI component architecture - Xcode project configuration - Swift Package Manager setup - Code signing and entitlements - App Store / TestFlight preparation ## Core Principles ### SwiftUI Architecture - Use MVVM with `@Observable` (iOS 17+) or `ObservableObject` - Prefer composition over inheritance - Keep views small and focused - Extract reusable components to separate files ### Project Structure (macOS Menu Bar App) ``` AppName/ ├── App/ │ └── AppNameApp.swift # @main entry point ├── Models/ │ ├── ServiceType.swift # Enums and data models │ └── UsageMetrics.swift # Core data structures ├── Services/ │ ├── ServiceManager.swift # Business logic │ ├── KeychainManager.swift # Secure storage │ └── APIClient.swift # Network layer ├── Views/ │ ├── MenuBarView.swift # Main menu bar content │ ├── SettingsView.swift # Preferences window │ └── Components/ # Reusable UI components └── Info.plist AppNameWidget/ ├── AppNameWidgetBundle.swift # Widget bundle entry ├── UsageWidget.swift # Widget implementation ├── Assets.xcassets/ └── Info.plist ``` ### Menu Bar App Pattern ```swift @main struct AppNameApp: App { @NSApplicationDelegateAdap