Explore SwiftUI is a reference site built around visual examples of SwiftUI APIs, components, and modifiers. Instead of describing what a modifier does in abstract terms, each entry shows the rendered result next to the Swift code that produces it, with links out to Apple’s own documentation for the underlying API.
The library is organized for quick lookup: browse by API or component, open an entry, then copy the code sample directly into a project. Entries include modifiers such as container content margins, environment values for toolbar edges, and initializers like preferred top column that control how a NavigationSplitView collapses into a single stack.
A notable section covers iPhone Duo, with six display modes and previews that compare layouts across orientations and hinge states. This is useful for developers targeting foldable or multi-display contexts where the collapsed and expanded states behave differently from a standard iPhone.
The site is aimed at working iOS developers who already know SwiftUI basics and need to confirm exact behavior, naming, or platform support before writing code. Because it is a lookup reference rather than a course, newcomers may find it more useful after they have built a few views.
A practical approach is to keep it open beside Xcode: search for the modifier you need, check the preview and platform notes, then paste the sample and adjust. Treat the code as a starting point rather than a finished implementation.
Comments & Ratings
0No comments yet. Be the first to review.