swiftui
SwiftUI Reference
This skill provides access to SwiftUI documentation via downloaded reference files.
Downloaded Reference Files
The following Apple documentation pages are available locally (grep-friendly):
| File | Content |
|---|---|
| swiftui-overview.md | Full SwiftUI framework index (907KB) |
| view-protocol.md | View protocol and all modifiers (59KB) |
| state.md | @State property wrapper |
| binding.md | @Binding property wrapper |
| environment.md | @Environment property wrapper |
| observation.md | @Observable macro (iOS 17+) |
| navigationstack.md | NavigationStack (iOS 16+) |
| navigationsplitview.md | NavigationSplitView |
| tabview.md | TabView |
| list.md | List view |
Fetching More Docs
- Search this skill's local
.mdfiles first. - If the topic is not here, check the other installed Apple skills you have available by their names, descriptions, or
SKILL.mdfrontmatter, then grep their local files. This is faster and uses less context than fetching new docs from the internet. - If no installed skill has the page, use the relevant documentation path from
swiftui-overview.mdwith thesosumi.aiMarkdown mirror. For example,/documentation/swiftui/buttonmaps tohttps://sosumi.ai/documentation/swiftui/button.
Common SwiftUI Doc Paths
| Topic | URL Path |
|---|---|
| Text | swiftui/text |
| Button | swiftui/button |
| Image | swiftui/image |
| VStack | swiftui/vstack |
| HStack | swiftui/hstack |
| ZStack | swiftui/zstack |
| Form | swiftui/form |
| Sheet | swiftui/sheet |
| Alert | swiftui/alert |
| Picker | swiftui/picker |
| Toggle | swiftui/toggle |
| Slider | swiftui/slider |
| ProgressView | swiftui/progressview |
| AsyncImage | swiftui/asyncimage |
| GeometryReader | swiftui/geometryreader |
| ScrollView | swiftui/scrollview |
| LazyVStack | swiftui/lazyvstack |
| LazyHStack | swiftui/lazyhstack |
| NavigationLink | swiftui/navigationlink |
| ToolbarItem | swiftui/toolbaritem |
Usage Instructions
- Check downloaded files first - Grep the local
.mdfiles for your topic - Use the overview as an index - Search
swiftui-overview.mdfor documentation paths - Fetch only when needed - If no installed skill has the page, use
sosumi.aiwith documentation paths from the overview
Example workflow:
# Looking for info on modifiers?
grep -i "padding" view-protocol.md
# Need full Text documentation? Check the local file first.
grep -i "font" text.md
Sources
More from vabole/apple-skills
ios-liquid-glass
API reference: Liquid Glass (iOS 26+). Query for glass effects, navigation patterns, GlassEffect modifiers, design principles.
151hig
API reference: Apple Human Interface Guidelines. Query for design patterns, UI components, accessibility, color, typography, layout, haptics.
142xcuitest
API reference: XCUITest. Query for element queries, waiting patterns, Swift 6 @MainActor, assertions, screenshots, launch arguments.
141apple-docs-index
Index of Apple developer documentation for iOS, macOS, and related frameworks. Use when looking up what APIs exist in a framework, browsing available documentation, or deciding what docs to fetch. Covers SwiftUI, UIKit, XCTest, HealthKit, Combine, SwiftData, and more.
139healthkit
API reference: HealthKit. Query for HKHealthStore, HKQuantitySample, workouts, health data read/write.
138swift-testing
API reference: Swift Testing framework. @Test, @Suite, #expect, #require, traits, parameterized tests, migrating from XCTest.
136