SwiftUI View Scaffold
Create a new SwiftUI view with previews and accessibility guidance.
When to Use
- •When creating a new screen or reusable view.
Inputs
- •View name
- •Expected state and inputs
- •Accessibility requirements
Instructions
- •Create the view file and public initializer.
- •Add a preview with representative data.
- •Add accessibility labels and hints where needed.
Output
- •SwiftUI view file with previews.