Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
johnrogers avatar

Swiftui Advanced

  • 152 installs
  • 222 repo stars
  • Updated January 18, 2026
  • johnrogers/claude-swift-engineering

Build advanced SwiftUI screens with composable views, navigation, state, animations, and platform APIs for production iOS and macOS client experiences.

About

Advanced SwiftUI engineering skill for sophisticated native Apple clients: composable views, modern state management, navigation stacks, custom layouts, animations, platform integrations, accessibility, and Human Interface Guidelines for polished iOS and macOS apps.

  • Observable state architecture
  • Navigation and deep links
  • Custom layouts and modifiers
  • Motion and transitions
  • Accessibility and HIG alignment

Swiftui Advanced by the numbers

  • 152 all-time installs (skills.sh)
  • +2 installs in the week ending Aug 2, 2026 (Skillselion tracking)
  • Ranked #526 of 1,039 Mobile Development skills by installs in the Skillselion catalog
  • Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/johnrogers/claude-swift-engineering --skill swiftui-advanced

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs152
repo stars222
Last updatedJanuary 18, 2026
Repositoryjohnrogers/claude-swift-engineering

What it does

Build advanced SwiftUI screens with composable views, navigation, state, animations, and platform APIs for production iOS and macOS client experiences.

Files

SKILL.mdMarkdownGitHub ↗

SwiftUI Advanced

Advanced SwiftUI patterns for gesture composition, adaptive layouts, architecture decisions, and performance optimization.

Reference Loading Guide

ALWAYS load reference files if there is even a small chance the content may be required. It's better to have the context than to miss a pattern or make a mistake.

ReferenceLoad When
[Gestures](references/gestures.md)Composing multiple gestures, GestureState, custom recognizers
[Adaptive Layout](references/adaptive-layout.md)ViewThatFits, AnyLayout, size classes, iOS 26 free-form windows
[Architecture](references/architecture.md)MVVM vs TCA decision, State-as-Bridge, property wrapper selection
[Performance](references/performance.md)Instruments 26, view body optimization, unnecessary updates

Core Workflow

1. Identify pattern category from user's question 2. Load relevant reference for detailed patterns and code examples 3. Apply pattern following the decision trees and anti-patterns 4. Verify using provided checklists or profiling guidance

Decision Trees

Gesture Composition

  • Both gestures at same time? -> .simultaneously
  • One must complete before next? -> .sequenced
  • Only one should win? -> .exclusively

Layout Adaptation

  • Pick best-fitting variant? -> ViewThatFits
  • Animated H/V switch? -> AnyLayout
  • Need actual dimensions? -> onGeometryChange

Architecture Selection

  • Small app, Apple patterns? -> @Observable + State-as-Bridge
  • Complex presentation logic? -> MVVM with @Observable
  • Rigorous testability needed? -> TCA

Common Mistakes

1. Gesture composition order matters.simultaneously and .sequenced have different trigger timing. Swapping them silently changes behavior. Understand gesture semantics before using.

2. ViewThatFits over-used — ViewThatFits remeasures on every view change. For animated H/V switches, use AnyLayout instead. Use ViewThatFits only for static variant selection.

3. onGeometryChange triggering unnecessary updates — Reading geometry changes geometry, which triggers updates, which changes geometry... circular. Use .onGeometryChange only with proper state management to avoid loops.

4. Architecture mismatch mid-project — Starting with @Observable + State-as-Bridge then realizing you need TCA is expensive. Choose architecture upfront based on complexity (small app = @Observable, complex = TCA).

5. Ignoring view body optimization — Computing expensive calculations in view body repeatedly kills performance. Move calculations to properties or models. Profile with Instruments 26 before optimizing prematurely.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.