swiftui-whats-new-27
Provides guidance on 2027 SwiftUI SDK changes, including @State macro migrations and new layout APIs.
Install
mkdir -p .claude/skills/swiftui-whats-new-27 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13200" && unzip -o skill.zip -d .claude/skills/swiftui-whats-new-27 && rm skill.zipInstalls to .claude/skills/swiftui-whats-new-27
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
New SwiftUI APIs, behaviors, and deprecations introduced in the 2027 OS releases (iOS 27, macOS 27, watchOS 27, tvOS 27, visionOS 27). Use when a SwiftUI view using @State fails to compile with \"used before being initialized\", \"invalid redeclaration of synthesized property\", or \"extraneous argument label\" errors after an SDK update (@State migrated from a property wrapper to a macro in SDK 27; the obvious fix of reordering init assignments is WRONG and produces incorrect runtime behavior; you MUST consult this skill's references before answering); when @ViewBuilder or @ContentBuilder code hits ambiguous overloads in overlay/background or type-check performance regressions after an SDK update; when the user asks what's new in SwiftUI (generally, or for a specific 2027 platform); when adding drag-to-reorder to any container (List, LazyVStack, LazyVGrid, stacks, or custom layouts) via reorderable()/reorderContainer, including the drag-and-drop that integrates with it (dragContainer, dropDestination), or combining items by dropping one onto another; when working with AsyncImage loading and caching (images reloading when scrolling back, the default HTTP cache, a per-request cache policy via AsyncImage(request:)/URLRequest, or applying a custom URLSession with asyncImageURLSession); when adding swipe actions to rows (swipe-to-delete or other swipe actions) in a ScrollView, LazyVStack, LazyVGrid, or stack and not just List, via swipeActions()/swipeActionsContainer(); when working with toolbars, such as controlling which items stay visible versus move into the overflow menu when space is constrained or buttons get cut off (visibilityPriority, ToolbarOverflowMenu), pinning an item so it never overflows (topBarPinnedTrailing), minimizing the navigation bar or toolbar on scroll (toolbarMinimizeBehavior), generating toolbar items with ForEach, or hiding the status bar via the statusBar toolbar placement; when presenting a confirmation dialog or alert from an optional item binding (the sheet(item:) shape) so it shows when the bound value becomes non-nil and passes the unwrapped item into the actions and message closures; when building or migrating a document-based app (including read-only document viewers), reading or writing files through DocumentGroup, optimizing autosave performance for package documents, accessing the document's file URL directly (for example to hand to AVFoundation, PDFKit, Core Image, or any C library that takes a path), reporting progress from a save or load, or migrating from FileDocument / ReferenceFileDocument; or when resolving other SDK 27.0 source incompatibilities and deprecation warnings (for example statusBarHidden on visionOS).Key capabilities
- →Resolve `@State` compilation errors after SDK updates
- →Implement drag-to-reorder in SwiftUI containers
- →Manage `AsyncImage` loading and caching behavior
- →Add swipe actions to rows in scrollable containers
- →Control toolbar item visibility and overflow behavior
- →Present confirmation dialogs or alerts from optional item bindings
How it works
The skill provides authoritative guidance on new SwiftUI APIs, behaviors, and deprecations introduced in the 2027 OS releases. It directs to specific references to resolve compilation errors and implement new features.
Inputs & outputs
When to use swiftui-whats-new-27
- →Resolving @State macro migration errors
- →Implementing drag-to-reorder in List or Grid
- →Fixing AsyncImage caching issues
About swiftui-whats-new-27
Guides developers through SwiftUI changes in 2027 OS releases. Specifically addresses compilation errors related to @State, AsyncImage loading, and new reorderable containers.
New SwiftUI APIs, behaviors, and deprecations introduced in the 2027 OS releases (iOS 27, macOS 27, watchOS 27, tvOS 27, visionOS 27). Use when a SwiftUI view using @State fails to compile with \"used before being initialized\", \"invalid redeclaration of synthesized property\", or \"extraneous argu
When not to use it
- →When the deployment target is older than iOS 27 / macOS 27 / visionOS 27
- →When using `ReferenceFileDocument` or `FileDocument` for new code
- →When applying soft-deprecated APIs
Limitations
- →Guidance is specific to SDK 27.0 changes
- →Does not recommend `ReferenceFileDocument` or `FileDocument` for new code on SDK 27+
- →Soft-deprecated APIs are covered by a different skill
How it compares
This skill provides targeted, version-specific guidance for SwiftUI changes, directly addressing common migration issues and new API usage, which is more precise than general SwiftUI knowledge.
Compared to similar skills
swiftui-whats-new-27 side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| swiftui-whats-new-27 (this skill) | 0 | 3mo | No flags | Advanced |
| swiftui-expert-skill | 13 | 5mo | No flags | Intermediate |
| swiftui-ui-patterns | 1 | 6mo | No flags | Intermediate |
| ios-navigation | 2 | 5mo | No flags | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
swiftui-expert-skill
sickn33
Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, modern APIs, Swift concurrency, and iOS 26+ Liquid Glass adoption. Use when building new SwiftUI features, refactoring existing views, reviewing code quality, or adopting modern SwiftUI patterns.
swiftui-ui-patterns
Dimillian
Best practices and example-driven guidance for building SwiftUI views and components. Use when creating or refactoring SwiftUI UI, designing tab architecture with TabView, composing screens, or needing component-specific patterns and examples.
ios-navigation
HoangNguyen0403
SwiftUI navigation and deep linking using NavigationStack and Universal Links.
view
andrelucassvt
Cria uma nova View SwiftUI seguindo o padrao MVVM do projeto (iOS 15+). Use quando o usuario pedir para criar uma nova tela, view ou screen.
macos-menubar-tuist-app
HCMUTE-RTIC
Build, refactor, or review macOS menubar apps that use Tuist and SwiftUI. Use when creating or maintaining LSUIElement menubar utilities, defining Tuist targets/manifests, implementing model-client-store-view architecture, adding script-based launch flows, or validating reliable local build/run beha
swift
bouclem
Expert in Swift and SwiftUI development for iOS, macOS, and Apple platforms