Swiftui

15 articles about swiftui.

SwiftUI Floating Panel: NSPanel Patterns for macOS Apps

·9 min read

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.

swiftuimacosnspanelappkitfloating-panel

SwiftUI Menu Bar App With a Floating Window: Best Practices

·8 min read

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.

swiftuimacosmenu-barnspanelappkit

Apple Foundation Models in SwiftUI - The Hybrid Local and Cloud Approach

·2 min read

Playing with Apple Foundation Models in SwiftUI reveals the power of on-device models combined with cloud fallback. Hybrid local/cloud is the right

applefoundation-modelsswiftuion-devicelocal-ai

5 Tiny SwiftUI Utilities for AI Agent Accessibility

·2 min read

Enforcing accessibility labels on custom SwiftUI views makes your app compatible with AI agents. Five small utilities that bridge the gap between UI and

swiftuiaccessibilityai-agentsmacos-developmentautomation

SwiftUI on macOS 14+ Finally Works - NavigationSplitView and Beyond

·2 min read

macOS 14 is where SwiftUI clicked for desktop apps. NavigationSplitView works properly, performance is solid, and building native macOS apps with SwiftUI is

swiftuimacosnavigationswiftdesktop-app

Why Building a Native macOS App Burns Through AI Tokens So Fast

·2 min read

Parallel agents, Swift compiler strictness, and accessibility tree parsing all contribute to massive token consumption when building native desktop apps

token-usageparallel-agentsmacosswiftswiftuiaccessibility-treeclaudecode

AI Coding Technique: Change One File, Migrate the Entire Codebase

·2 min read

A practical AI coding technique - manually change one SwiftUI file, then have Claude Code migrate 1500+ hardcoded calls across the entire codebase to match.

ai-codingclaude-codemigrationswiftuirefactoringdeveloper-workflow

Why We Build AI Tools with SwiftUI Instead of Electron

·2 min read

Native macOS apps feel right - proper keyboard shortcuts, menu bar integration, system notifications. Electron apps are cross-platform but feel foreign on

swiftuielectronmacosnative-appdeveloper-toolsclaudecode

Why Small Separate SwiftUI Utility Packages Beat Monorepos with AI Agents

·3 min read

When working with AI coding agents, keeping SwiftUI utilities as separate packages prevents the agent from attempting unwanted refactors of your shared code.

swiftuiswift-packagesmonorepoai-agentscode-organization

Opus 4.5 vs 4.6 for SwiftUI Debugging - How 4.6 Diagnosed a Constraint Loop Crash

·3 min read

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.

opus-4.6opus-4.5swiftuidebuggingconstraint-loopmacos

Building a Production iOS App in 35 Hours with Claude Code

·3 min read

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.

claude-codeiosswiftuiswiftapp-developmentproductionstyling

PWA vs Native macOS App - How to Decide for Your AI Tool

·2 min read

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

pwanative-appswiftuimacosarchitecture

Building a Floating Toolbar in SwiftUI for macOS - Lessons from a Desktop Agent

·3 min read

Practical SwiftUI patterns for building a floating toolbar on macOS - @State layout management, frame animations, and keyboard height tracking for menu bar

swiftuimacostoolbarui-designmenu-bar

Fixing SwiftUI LazyVGrid Performance Issues on macOS

·2 min read

LazyVGrid jitter and stuttering on macOS comes from view identity instability. Here are practical fixes: stable .id() values, extracted cell views, async

swiftuilazyvgridperformancemacosoptimization

Building a Visual Wrapper for Claude Code - Why Native macOS Beats the Terminal for Agent Debugging

·5 min read

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.

visual-wrapperclaude-codeswiftuidebuggingdeveloper-toolsobservability

Browse by Topic