Open a specific SwiftUI animation or layout example in Xcode to understand how a feature works before using it in your own app.
Copy code from a mini-app like a weather app or to-do list to speed up building similar UI patterns in your project.
Compare SwiftUI and UIKit approaches side by side using the examples in this and the linked UIKit collection.
Requires macOS with Xcode installed, each example is a separate Xcode project you open and run individually.
This repository is a collection of example projects built with SwiftUI, Apple's framework for building apps on iPhone, iPad, and Mac. SwiftUI was introduced at Apple's developer conference in 2019 as a new way to design app interfaces using Swift code rather than dragging elements in a visual editor. This repo collects working code examples demonstrating how to use different parts of the framework. The examples cover a wide range of topics: layouts, animations, gestures, drawing shapes and paths, handling user input, loading images from the network, connecting to a web API, building lists and navigation, and working with the older UIKit interface system alongside SwiftUI. There are also complete mini-apps like a 2048 game, a calculator, a to-do app, a weather app, a currency converter, and a side menu component, among others. Each example is a separate Xcode project stored in the repository. The README consists mostly of a navigation list and animated screenshot previews showing what each example looks like when running on a device. Some entries link to source code in other repositories maintained by different authors. The repository also includes links to a related collection of UIKit components, for developers who work with the older Apple interface framework. This resource suits iOS and iPadOS developers who are learning SwiftUI and want runnable, specific code examples they can open in Xcode and experiment with, rather than reading abstract documentation. It is organized as a reference collection rather than as a single app or library.
← ivanvorobei on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.