Prompt Refactor

Simplify SwiftUI View Body

Break down complex SwiftUI views into smaller, reusable subviews.

swiftswiftui
Insert label View Body
Prompt

Find SwiftUI views where the body property is too long or deeply nested. Extract logical sections into child views, computed properties, or @ViewBuilder helper methods. Keep each view focused on one visual concern.

Add this to your Facet Inserts in Crystl for one-click access.

Get Crystl