ABOUTME: Apple platform guide - Swift 6, SwiftUI, concurrency, testing, performance ABOUTME: Modern Swift (2025-2026): @Observable, SwiftData, NavigationStack, strict concurrency
Migration: Enable swiftLanguageModes: [.v6], replace ObservableObject, add @MainActor to UI classes, add Sendable to value types, use actors for shared state, replace callbacks with async throws.
| @State | View-owned values, @Observable | | @Binding | Two-way to parent | | @Bindable | Two-way to @Observable props | | @Environment | System/app values | | @StateObject | View-owned ObservableObject (legacy) |
Sviluppo della piattaforma Apple con Swift 6, SwiftUI, async/await e performance. Da utilizzare quando si lavora con file .swift, Package.swift, progetti Xcode o si crea per iOS/macOS/watchOS/visionOS. Fonte: maroffo/claude-forge.