Swiftui
15 articles about swiftui.
SwiftUI Floating Panel: NSPanel Patterns for macOS Apps
How to build a floating panel in SwiftUI using NSPanel. Covers window levels, activation policy, focus handling, resizing, and practical patterns for inspector panels, HUDs, and auxiliary windows on macOS.
SwiftUI Menu Bar App With a Floating Window: Best Practices
Build a SwiftUI menu bar app with a floating window on macOS. MenuBarExtra vs NSStatusItem + NSPanel, focus handling, click outside to dismiss, multi monitor, and LSUIElement.
Apple Foundation Models in SwiftUI - The Hybrid Local and Cloud Approach
Playing with Apple Foundation Models in SwiftUI reveals the power of on-device models combined with cloud fallback. Hybrid local/cloud is the right
5 Tiny SwiftUI Utilities for AI Agent Accessibility
Enforcing accessibility labels on custom SwiftUI views makes your app compatible with AI agents. Five small utilities that bridge the gap between UI and
SwiftUI on macOS 14+ Finally Works - NavigationSplitView and Beyond
macOS 14 is where SwiftUI clicked for desktop apps. NavigationSplitView works properly, performance is solid, and building native macOS apps with SwiftUI is
Why Building a Native macOS App Burns Through AI Tokens So Fast
Parallel agents, Swift compiler strictness, and accessibility tree parsing all contribute to massive token consumption when building native desktop apps
AI Coding Technique: Change One File, Migrate the Entire Codebase
A practical AI coding technique - manually change one SwiftUI file, then have Claude Code migrate 1500+ hardcoded calls across the entire codebase to match.
Why We Build AI Tools with SwiftUI Instead of Electron
Native macOS apps feel right - proper keyboard shortcuts, menu bar integration, system notifications. Electron apps are cross-platform but feel foreign on
Why Small Separate SwiftUI Utility Packages Beat Monorepos with AI Agents
When working with AI coding agents, keeping SwiftUI utilities as separate packages prevents the agent from attempting unwanted refactors of your shared code.
Opus 4.5 vs 4.6 for SwiftUI Debugging - How 4.6 Diagnosed a Constraint Loop Crash
Claude Opus 4.6 diagnosed a SwiftUI constraint loop crash that had been crashing for weeks - a problem Opus 4.5 could not solve. Here is what changed.
Building a Production iOS App in 35 Hours with Claude Code
A real experience building a production-quality iOS app with Claude Code in 35 hours. The logic was easy - SwiftUI styling was the hardest part by far.
PWA vs Native macOS App - How to Decide for Your AI Tool
PWA is fastest to ship but feels like a wrapper. Native SwiftUI gives you proper notifications, menu bar integration, and system-level shortcuts. For AI
Building a Floating Toolbar in SwiftUI for macOS - Lessons from a Desktop Agent
Practical SwiftUI patterns for building a floating toolbar on macOS - @State layout management, frame animations, and keyboard height tracking for menu bar
Fixing SwiftUI LazyVGrid Performance Issues on macOS
LazyVGrid jitter and stuttering on macOS comes from view identity instability. Here are practical fixes: stable .id() values, extracted cell views, async
Building a Visual Wrapper for Claude Code - Why Native macOS Beats the Terminal for Agent Debugging
Claude Code's terminal UI is fast but opaque. Here is why some developers build SwiftUI wrappers to surface tool calls, file diffs, and decision trees as navigable UI instead of scrolling logs.