Since past Apple's keynote, where SwiftUI was announced, tons of docs, examples, videos and tutorials have appeared. The goal of this repository is to gather all this information having an unique place where looking for info about SwiftUI.
SwiftUI is an innovative, exceptionally simple way to build user interfaces across all Apple platforms with the power of Swift. Build user interfaces for any Apple device using just one set of tools and APIs. With a declarative Swift syntax that’s easy to read and natural to write, SwiftUI works seamlessly with new Xcode design tools to keep your code and design perfectly in sync. Automatic support for Dynamic Type, Dark Mode, localization, and accessibility means your first line of SwiftUI code is already the most powerful UI code you’ve ever written.
Table of contents
- by Apple
- By the community
- Official doc
- Learn to Make Apps with SwiftUI. Follow a series of guided tutorials to learn to make apps using SwiftUI and Xcode.
- User Interface
- Views and Controls. Present your content onscreen and handle user interactions.
- View Layout and Presentation. Combine views in stacks, generate groups and lists of views dynamically, and define view presentations and hierarchy.
- Drawing and Animation. Enhance your views with colors, shapes, and shadows, and customize animated transitions between view states.
- Framework Integration. Integrate SwiftUI views into existing apps, and embed AppKit, UIKit, and WatchKit views and controllers into SwiftUI view hierarchies.
- Data and Events
- Previews in Xcode
- Previews. Generate dynamic, interactive previews of your custom views.
- Introducing SwiftUI: Building Your First App
- SwiftUI Essentials
- Data Flow Through SwiftUI
- Building Custom Views with SwiftUI
- Integrating SwiftUI
- Accessibility in SwiftUI
- SwiftUI On All Devices
- SwiftUI on watchOS
- Mastering Xcode Previews
- Creating and Combining Views
- Working with UI Controls
- Handling User Input
- Building Lists and Navigation
- Drawing Paths and Shapes
- Animating Views and Transitions
- Composing Complex Interfaces
- Interfacing with UIKit
by the community
- Swift UI by Tutorials (Preorder) by Ray wenderlich
- Combine: Asynchronous Programming with Swift (Preorder) by Ray wenderlich
- Catalyst by Tutorials (Preorder) by Ray wenderlich
- SwiftUI by Example - Book (Available NOW!) by Hacking with Swift
- Learn SwiftUI. by Meng To
- SwiftUI Quick Start Guide with iOS 13 and Xcode 11 . by DevTechie Interactive
- SwiftUI by Example by Hacking with Swift
- Get started with SwiftUI by Hacking with Swift
- Higher-Order-Components in SwiftUI by Andrei Villasana
- SwiftUI’s relationship to UIKit and AppKit by @SwiftBySundell
- Answers to the most common questions about SwiftUI by @SwiftBySundell
- A first look at SwiftUI: Apple’s declarative new UI framework by @SwiftBySundell
- Inside SwiftUI's Declarative Syntax's Compiler Magic by Bruno Rocha
- Making real-world app with SwiftUI by Majid Jabrayilov
- SwiftUI Are we saying goodbye to IB(UIStoryboard)? by Mohammad Sawalha
- How To Make a Simple Countdown Timer with SwiftUI by Antoine Barrault
- Tutorial: How to setup a SwiftUI project by Martin Lasek
- What SwiftUI Means for Flutter by Martin Rybak
- Intro to SwiftUI by Santosh Botre
- SF Symbols in iOS 13 by craiggrummitt
- Understanding SwiftUI in depth by Balraj Singh
- A Skeptics view on SwiftUI by Jille van der Weerd
- Optionals in SwiftUI by Jasper Haggenburg
- Presenting UIViewControllers in SwiftUI by Johannes Nevels
- SwiftUI for React Native Developers by Rohan Panchal
- SwiftUI First Look: Building a Simple Table View App by AppCoda
- Will Storyboards still be alive? by Nabil Kazi
🇫🇷Qu’est-ce que SwiftUI? by Nicolas Bachur
- RxSwift to Apple’s Combine “Cheat Sheet” by Shai Mishali
- First impressions of SwiftUI by Matt Gallagher
- Playing with SwiftUI Buttons by Alejandro Martinez
- Jun 9 The Swift 5.1 features that power SwiftUI’s API by @SwiftBySundell
- Everything you need to know about SwiftUI to get started by BLCKBRIDS
- Intro to SwiftUI — Part 1 by Suyash Srijan
- How to build a Chat App or Messenger in SwiftUI for iOS Swift by Nick Halavins
- SwiftUI: Getting Started by Ray wenderlich
- SwiftUI meets Kotlin Multiplatform! by johnoreilly.dev
- Understanding the SwiftUI Sample by Rui Peres
🇨🇳SwiftUI - First experience by 彼得潘的 iOS App Neverland
- SwiftUI Will Change More Than How We Code by Harlan Kellaway for Prolific Interactive
- What’s this “some” in SwiftUI? by Mischa Hildebrand
- SwiftUI vs Interface Builder and storyboards by Hacking with Swift
- SwiftUI Basics: List Fetching by Mat Schmid
- SwiftUI, personal thoughts and Model-View-Presenter by David Cordero
- Cloning Tinder using SwiftUI by David Doll
- SwiftUI: Project migration from UIKit by Nik Rodionov
- MessageUI, SwiftUI and UIKit integration
- Mastering Table Views (Lists) in SwiftUI by BLACKBIRDS
- Making a Real World Application With SwiftUI by Thomas Ricouard
- SwiftSunburstDiagram A library written with SwiftUI to easily render sunburst diagrams given a tree of objects.
SwiftUIFramework Learning and Usage Guide.
- SwiftUITodo. An example to-do list app using SwiftUI which is introduced in WWDC19.
- KeyboardAvoiding. A SwiftUI view that manages a UIViewController that responds to keyboard events with modified additionalSafeAreaInsets.
- DispatchStore. Swift package that implements an operation based, multi-store à-la Flux for SwiftUI.
- GitHubSearchWithSwiftUI. SwiftUI based GitHubSearch example.
- SwiftUI-MovieDB. SwiftUI MovieDB prototype app built with Xcode 11 Beta & macOS 10.15 Catalina.
🤖WWDC19 player using SwiftUI.
- MyDogs. A simple SwiftUI example for testing Lists, BindableObject, State management and Network.
- MovieSwiftUI. SwiftUI & Combine app using MovieDB API.
- CryptoTickerSwiftUI. Example project using a websocket API and SwiftUI to displays latest BTC-USD trade. (Latest Bitcoin price)
- SwiftUI-Combine. This is an example project of SwiftUI and Combine using GitHub API.
- SwiftUITimeTravel. An experimental time traveling state store for SwiftUI.
- SwiftUI_Jike. SwiftUI imitation app interface (Build Jike App with SwiftUI).
- 2048. A 2048 game writing with SwiftUI.
- SwiftUI-Landmarks. Introducing SwiftUI. A declarative way to create User Interfaces with Swift.
🚀This is a tiny experimental application using SwiftUI with Flux architecture.
- SwiftUI-by-Examples. Examples of new SwiftUI framework.
- SwiftUICalculator. A calculator app using SwiftUI which is introduced in WWDC19.
- InstaFake-Swift-UI. Swift UI Demo for an instagram copy.
- SwiftUITheme. A first idea to style SwiftUI Views.
- Lists_-_Navigation_SwiftUI. Exploration of Apple Developer's SwiftUI tutorial, detailing how to build lists and enable navigation between views with #SwiftUI.
- injectable. A micro framework that leverages Swift Property Wrapper to implement the Service Locator pattern.
- NetworkImage.swift. Basic NetworkImage support for SwiftUI via Kingfisher
- SwiftUI-Combine-todo-example. A to-do list app using SwiftUI and combine with restful api.
- Bindings.swift. Re-implementation of @binding and @State (from SwiftUI) myself to better understand it.
- CombineUnsplash. Exploring SwiftUI + Combine + Result by using Unsplash API, with detailed code explaination.
- RemoteImage.swift. Rough sketch of SwiftUI RemoteImage using AlamofireImage.
- CombineFeedback. Unidirectional reactive architecture using new Apple Combine framework.
🌾Harvest: Apple's Combine.framework + State Machine, inspired by Redux and Elm.
- Redux HandlingUserInput. HandlingUserInput tutorial showcasing redux style of state and change management.
- SwiftUI-Cheat-Sheet. SwiftUI Cheat Sheet.
- swiftui_shadow_and_border.swift. Testing SwiftUI. Adding shadow and corner radius to a View. Strange behavior depending on View background color.
- SwiftUI-MVVM. Sample iOS project built by SwiftUI + MVVM and Combine framework using GitHub API.
- SwiftUI-Circular.swift. Rough attempt at creating a container view that lays out its children in a circle.
- NotesApp.swift. A notes app written in >100 lines of swift using SwiftUI.
UnsplashSwiftUIA simple app powered by SwiftUI and Unsplash
- AniTime. Anime schedule, korean subtitle for iOS with SwiftUI + Combine and MVVM architecture
- Fluxus. Flux for SwiftUI, inspired by Vuex.
- ChartView in SwiftUI. Easy to use animated Chartview supporting
Bar and Piecharts
🌤A simple SwiftUI weather app using MVVM.
💬A basic SwiftUI chat app that leverages the new
- toBlockingArray for Combine. Acts like RxBlocking, for writing tests using the Combine framework.
- ImageWithActivityIndicator. SwiftUI view that download and display image from URL and displaying Activity Indicator while loading. Demo
🌯 🌯Burritos. A collection of Swift Property Wrappers (formerly "Property Delegates").
- Hackery A HackerNews client made using SwiftUI.
- SwiftUI-Redux-Todo Example An opinionated React/Redux inspired Todo example.
- FlowStack. A grid layout component.
- Currency Converter. A Currency converter app.
- bottombar-swiftui. BottomBar component for SwiftUI
- DealStack. Simple card stack implemented with SwiftUI
- SwiftUI-PathAnimations. Tools for SwiftUI that helps perform Path and Shape animations
- CombineBookSearch. SwiftUI + Combine + MVVM architecture.
- YanxuanHD, The iPad version of '网易严选' iOS app
📱GridStack. A flexible grid layout view for SwiftUI.
- Babylon demo MVVM with a project-level separation of layers and a leaf
- RKCalendar Simple SwiftUI Calendar / Date Picker.
- SwiftUI Sneak Preview Demo Project
- How to Run SwiftUI on Mojave with Playgrounds and Sample Code
- SwiftUI Basics: Dynamic Lists, HStack VStack, Images with Circle Clipped Stroke Overlays
- SwiftUI: Facebook Complex Layouts - Horizontal Scroll View
- SwiftUI Basics Tutorial
- SwiftUI App Tutorial - Lists, Navigation and JSON Data
- SwiftUI Presenting Data In A Scroll View & List
- Intro To SwiftUI: Simple State Management
- Before You Learn SwiftUI, You Need To Hear This...
- SwiftUI = Mind-blow - WWDC iOS developer reaction
- SwiftUI - DON'T LEARN IT (JUST YET)
- SwiftUI Beginner Tutorial On iOS 13 by Devslopes
- Simple SwiftUI App by Brian Advent
- SwiftUI Tutorial (Swift UI Basics in 1 Video)
- How To Create Views, Text and Stacks with Swift UI on Mojave
- SwiftUI NavigationView, List, Text, NavigationBarTitle Xcode 11
- NavigationView and NavigationButton - Push View in SwiftUI
- What's behind SwiftUI DSL? - Swift Function Builders - Following Swift Evolution
- Let's Code SwiftUI (WWDC 2019 Preview) - Lesson #00 - Über das Let's Code
- SwiftUI - Understanding State
- SwiftUI - Lists - Create Something like UITableView
🇪🇸SwiftUI: Primeros Pasos en Xcode 11 e iOS 13
🇪🇸SwiftUI + Xcode 11: Descubre Swift Package Manager y SF Symbols
- SwiftUI Tutorial - Create a list that fetches JSON
- SwiftUI Complete Apps #1: Build a dynamic list app with navigation and images – Tutorial
- Complex UI with SwiftUI from Start to Finish
- SwiftUI in UIKit? Yes! Meet DuckUI - Full Course
- SwiftUI and State Management: Part 1
- SwiftUI Hub - SwiftUI Tutorials & Resources
- Fucking SwiftUI - SwiftUI Cheat Sheet
- Gosh Darn SwiftUI - SwiftUI Cheat Sheet (work-friendly mirror)
Feel free to contribute!! This repo is yours.