Resolves SwiftUI view issues related to state management, data bindings, and UI rendering performance.
The swiftui-debug skill provides a comprehensive framework for diagnosing and fixing common SwiftUI development hurdles. It guides developers through troubleshooting state synchronization with the @Observable macro, correcting broken binding chains, resolving modal dismissal conflicts, and identifying performance bottlenecks using diagnostic tools like Self._printChanges(). It is particularly useful for iOS developers who encounter non-reactive views or complex rendering bugs and need immediate, actionable code fixes.
主な機能
01Resolves modal and sheet dismissal logic conflicts
02Identifies UI performance bottlenecks and unnecessary re-renders
03Troubleshoots state management issues using @Observable and @MainActor
04Provides standardized implementation patterns for reactive Swift views
059 GitHub stars
06Fixes broken two-way data bindings and state mismatches
ユースケース
01Fixing a UI view that fails to update when the underlying ViewModel data changes
02Optimizing complex view hierarchies that are causing interface lag
03Debugging a form input or toggle that isn't syncing correctly with its source state