Since past Apple's keynote, whereSwiftUIwas announced, tons of docs, examples, videos and tutorials have appeared. The goal of this repository is to gather all this information having a unique place where looking for info aboutSwiftUI.
SwiftUIis 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 ofSwiftUIcode is already the most powerful UI code you’ve ever written.
- SwiftUI
- Official doc
- Essentials
- Introducing SwiftUI.SwiftUI is a modern way to declare user interfaces for any Apple platform. Create beautiful, dynamic apps faster than ever before.
- App Structure and Behavior.Define the entry point and top-level organization of your app.
- 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
- State and Data Flow.Control and respond to the flow of data and changes within your app’s models.
- Gestures.Define interactions from taps, clicks, and swipes to fine-grained gestures.
- Previews in Xcode
- Previews.Generate dynamic, interactive previews of your custom views.
- Develop Apps with SwiftUI
- Develop Apps with SwiftUI.Create apps using SwiftUI and Xcode. Build Scrumdinger, an app that keeps track of daily scrums.
- Essentials
- 2️⃣0️⃣2️⃣2️⃣
- Hello Swift Charts
- The SwiftUI cookbook for navigation
- What's new in SwiftUI
- Compose custom layouts with SwiftUI
- Swift Charts: Raise the bar
- SwiftUI on iPad: Add toolbars, titles, and more
- SwiftUI on iPad: Organize your interface
- Use SwiftUI with AppKit
- Use SwiftUI with UIKit
- Bring multiple windows to your SwiftUI app
- Efficiency awaits: Background tasks in SwiftUI
- Adopt Variable Color in SF Symbols
- 2️⃣0️⃣2️⃣1️⃣
- Add rich graphics to your SwiftUI app
- Craft search experiences in SwiftUI
- Meet async/await in Swift
- What's new in SwiftUI
- Demystify SwiftUI
- Discover concurrency in SwiftUI
- Explore the SF Symbols 3 app
- SF Symbols in SwiftUI
- SwiftUI Accessibility: Beyond the basics
- Direct and reflect focus in SwiftUI
- Localize your SwiftUI app
- 2️⃣0️⃣2️⃣0️⃣
- Build SwiftUI apps for tvOS
- Build complications in SwiftUI
- Introduction to SwiftUI
- What's new in SwiftUI
- App essentials in SwiftUI
- Visually edit SwiftUI views
- Build a SwiftUI view in Swift Playgrounds
- Build document-based apps in SwiftUI
- Stacks, Grids, and Outlines in SwiftUI
- Build SwiftUI views for widgets
- Design great widgets
- Widget Code-along
- Data Essentials in SwiftUI
- Structure your app for SwiftUI previews
- 2️⃣0️⃣1️⃣9️⃣
🌟 most interesting
- 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
- Swift UI by TutorialsbyRay wenderlich
- Combine: Asynchronous Programming with SwiftbyRay wenderlich
- Catalyst by TutorialsbyRay wenderlich
- SwiftUI by Example - BookbyHacking with Swift
- SwiftUI Views Quick Start (free)byBig Mountain Studio
- SwiftUI Views MasterybyBig Mountain Studio
- SwiftUI Animations MasterybyBig Mountain Studio
- Working with Data in SwiftUIbyBig Mountain Studio
- Combine Mastery in SwiftUIbyBig Mountain Studio
- Using Combine(PDF/ePub at GumroadbyJoseph Heck
- 🇨🇳SwiftUI thực chiến, mang ngươi nhập môn quả táo mới nhất UI khai phá dàn giáo - SwiftUI in Action, bring you the latest UI development framework from Applebyzixiao233
- Thinking in SwiftUIbyobjc.io
- SwiftUI for Absolute Beginnersby Jayant Varma
- Learn SwiftUI.byMeng To
- SwiftUI Masterclass 2021 - iOS 14 App Development & Swift 5.byRobert Petras
- 🇨🇳SwiftUI tiếng Trung giáo trình - SwiftUI-Tutorials.byWillieWangWei
- SwiftUI - The Complete Developer Course.byStephen DeStefano
- CS193p - Developing Apps for iOS.byStanford University
- SwiftUI Hub - SwiftUI Tutorials & Resources
- Fucking SwiftUI - SwiftUI Cheat Sheet
- Gi Sheet - Ultimate SwiftUI Cheat Sheet on github
- Gosh Darn SwiftUI - SwiftUI Cheat Sheet (work-friendly mirror)
- The SwiftUI Lab - When the documentation is missing, we experiment
- SwiftOnTap – Complete SwiftUI Docs with Examples
- SwiftUI Examples for Designers
- SwiftUI Tutorials
- SwiftUI by ExamplebyHacking with Swift
- Get started with SwiftUIbyHacking with Swift
- SwiftUI tips and tricksbyHacking with Swift
- Higher-Order-Components in SwiftUIbyAndrei Villasana
- SwiftUI’s relationship to UIKit and AppKitby@SwiftBySundell
- Answers to the most common questions about SwiftUIby@SwiftBySundell
- A first look at SwiftUI: Apple’s declarative new UI frameworkby@SwiftBySundell
- Inside SwiftUI's Declarative Syntax's Compiler MagicbyBruno Rocha
- Making real-world app with SwiftUIbyMajid Jabrayilov
- SwiftUI Are we saying goodbye to IB(UIStoryboard)?byMohammad Sawalha
- How To Make a Simple Countdown Timer with SwiftUIbyAntoine Barrault
- Tutorial: How to setup a SwiftUI projectbyMartin Lasek
- What SwiftUI Means for FlutterbyMartin Rybak
- Intro to SwiftUIbySantosh Botre
- SF Symbols in iOS 13bycraiggrummitt
- Understanding SwiftUI in depthbyBalraj Singh
- A Skeptics view on SwiftUIbyJille van der Weerd
- Optionals in SwiftUIbyJasper Haggenburg
- Presenting UIViewControllers in SwiftUIbyJohannes Nevels
- SwiftUI for React Native DevelopersbyRohan Panchal
- SwiftUI First Look: Building a Simple Table View AppbyAppCoda
- Will Storyboards still be alive?byNabil Kazi
- 🇫🇷Qu’est-ce que SwiftUI?byNicolas Bachur
- RxSwift to Apple’s Combine “Cheat Sheet”byShai Mishali
- First impressions of SwiftUIbyMatt Gallagher
- Playing with SwiftUI ButtonsbyAlejandro Martinez
- Jun 9 The Swift 5.1 features that power SwiftUI’s APIby@SwiftBySundell
- Intro to SwiftUI — Part 1bySuyash Srijan
- How to build a Chat App or Messenger in SwiftUI for iOS SwiftbyNick Halavins
- SwiftUI: Getting StartedbyRay wenderlich
- SwiftUI meets Kotlin Multiplatform!byjohnoreilly.dev
- Understanding the SwiftUI SamplebyRui Peres
- 🇨🇳SwiftUI - First experiencebyPeter Pan iOS App Neverland
- SwiftUI Will Change More Than How We CodebyHarlan KellawayforProlific Interactive
- What’s this “some” in SwiftUI?byMischa Hildebrand
- SwiftUI vs Interface Builder and storyboardsbyHacking with Swift
- SwiftUI Basics: List FetchingbyMat Schmid
- SwiftUI, personal thoughts and Model-View-PresenterbyDavid Cordero
- Cloning Tinder using SwiftUIbyDavid Doll
- SwiftUI: Project migration from UIKitbyNik Rodionov
- MessageUI, SwiftUI and UIKit integration
- Mastering Table Views (Lists) in SwiftUIbyBLACKBIRDS
- Making a Real World Application With SwiftUIbyThomas Ricouard
- SwiftUI vs ComposebyQuickBird Studios
- Advanced Lists in SwiftUI
- GeometryReader to the RescuebyThe SwiftUI Lab
- Inspecting the View Tree - View PreferencesbyThe SwiftUI Lab
- View Extensions for Better Code ReadabilitybyThe SwiftUI Lab
- ScrollView – Pull to RefreshbyThe SwiftUI Lab
- My takeaway from working with SwiftUIbyAbbas T. Khan
- SwiftUI & Combine: Better TogetherbyPeter Friese
- The Simple Life(cycle) of a SwiftUI Viewby@dbolella
- Modal View in SwiftUIbyDenis Chashchin
- SwiftUI Layout System: An In-Depth LookbyAlexander Grebenyuk
- SwiftUI Data FlowbySarah Reichelt
- Clean Architecture for SwiftUIby@nallexn
- Programmatic navigation in SwiftUI projectby@nallexn
- 8 Amazing SwiftUI Libraries to Use in Your Next Projectby@rudrankriyam
- The Inner Workings of State Properties in SwiftUIbyZheng
- Say Goodbye to SceneDelegate in SwiftUIbyZheng
- Infinite List Scroll with SwiftUI and CombinebyYet Another Swift Blog
- View Communication Patterns in SwiftUIbyYet Another Swift Blog
- SwiftUI Previews at ScalebyYet Another Swift Blog
- Using UIView and UIViewController in SwiftUIbyYet Another Swift Blog
- How the SwiftUI View Lifecycle and Identity WorkbyDoorDash Engineering Blog
- Improving SwiftUI Navigation for the Coordinator PatternbyJohn Patrick Morgan Blog
- Writing testable code when using SwiftUIby@JohnSundell
- ViewInspectorby@nallexn
- Unit testing SwiftUI viewsby@nallexn
- nef- This Xcode extension enables you to make a code selection and export it to a snippets.Available on Mac App Store.
- SwiftUI Recipes- companion app and Xcode extension for adding 70+ community-sourced SwiftUI recipes to your code.Available on Mac App Store.
- 100 Days of SwiftUI & CombineRepo to follow along withHacking with Swift's100 Days of SwiftUIChallenge.
- Currency Converter & CalculatorA currency application for most of the currencies in the world. You can quickly convert and make mathematical operations between currencies.
- SwiftSunburstDiagramA library written with SwiftUI to easily render sunburst diagrams given a tree of objects.
- SwiftUI.
SwiftUI
Framework 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.
- WWDCPlayer.🤖 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)
- SwiftUIRedux.Comprehensive Redux library for SwiftUI, ensures State consistency across Stores with type-safe pub/sub pattern.
- 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.
- SwiftUI-Flux.🚀 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.
- SwiftWebImage.🚀SwiftUI image downloader for BindingObject with performant LRU mem/disk cache.
- 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.
- Contacts.swift
- CombineUnsplash.Exploring SwiftUI + Combine + Result by using Unsplash API, with detailed code explanation.
- RemoteImage.swift.Rough sketch of SwiftUI RemoteImage using AlamofireImage.
- CombineFeedback.Unidirectional reactive architecture using new Apple Combine framework.
- Harvest.🌾 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.
- UnsplashSwiftUI.
UnsplashSwiftUI
A 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
- Weather.🌤 A simple SwiftUI weather app using MVVM.
- Chat.💬 A basic SwiftUI chat app that leverages the new
URLSessionWebSocketTask
. - 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" ).
- HackeryA HackerNews client made using SwiftUI.
- SwiftUI-Redux-Todo ExampleAn opinionated React/Redux inspired Todo example.
- 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 ' võng dễ nghiêm tuyển ' iOS app
- Babylon demoMVVM with a project-level separation of layers and a leaf
View
framework. - RKCalendarSimple SwiftUI Calendar / Date Picker.
- MorphiAdditional
Shape
for SwiftUI. - ⏯VideoPlayer,A video player for SwiftUI.
- DrawerView-SwiftUIA drawer view with certain customizability implemented by SwiftUI.
- SwiftUIXAn extension to the standard SwiftUI library.
- SwiftUI-Router.A routing system proof-of-concept based on React Router.
- SwiftUI ColorSlider.Dynamically select a color from a color gradient slider.
- ⌨️ KeyboardObservingA Combine-based solution for observing and avoiding the keyboard in SwiftUI.
- ☑ Calculator ChecklistRecreation of calculator-checklist project in SwiftUI.
- ArrivalBART app writen entirely with SwiftUI
- SFA Small SFSymbols SwiftUI Enum.
- Pull to RefreshSwiftUI pull to refresh for List, NavigationView
- ConnectFourA basic Connect Four game built with SwiftUI
- Modal ViewA simple and safe way to display Modal views in SwiftUI
- SwiftUI CompatKit🤘 A framework to add missing UIKit Controls to SwiftUI 🤘
- SDWebImageSwiftUI.SDWebImage integration for SwiftUI. Supports async image loading, caching, as well as animated image playback like GIF, APNG and Animated WebP.
- FlipClock-SwiftUIFlip clock implementation in SwiftUI
- CountdownFilmClutter-SwiftUIOld fashioned countdown film clutter in SwiftUI
- 🇹🇷SwiftUI-PresentationSwiftUI explained in Turkish and prepared a demo application.
- Sliders.Custom sliders and tracks for SwiftUI.
- 📖 PagesA lightweight, paging view solution for SwiftUI.
- 🚀 PartialSheetA SwiftUI modifier to show a Partial Modal Sheet based on his content height.
- 🕒 Clock time picker.A clock face with draggable hands to pick the hour and minutes of your date.
- 🇨🇳SwiftUI-WeChatLearn how to make WeChat with SwiftUI. WeChat 7.0 🟢
- Weather App with MVVM and CoreML🚀 This demo is very simple project, which designed to understand SwiftUI. It includes Main screen, DayList screen and detail screen.
- VergeA Store-Pattern based data-flow architecture for iOS Application with UIKit / SwiftUI. Inspired by Redux and Vuex.
- Clean Architecture for SwiftUIA demo project showcasing the production setup of the SwiftUI app with Clean Architecture.
- SwiftUI-IntrospectIntrospect underlying UIKit components from SwiftUI.
- 🗯️Lazy-Pop-SwiftUIModifier that allows swiping on any part of the screen to start an interruptible pop animation to the previous view.
- 🔥Login-with-Apple-Firebase-SwiftUISwiftUI component that handles logging in with Apple into Firebase. Complete tutorial in the README.
- Awesome-SwiftUIA curated list of awesome SwiftUI tutorials, libraries, videos and articles.
- GrowingTextView-SwiftUIGrowing text view implemetation in SwiftUI
- 🚀 ActionOverA SwiftUI modifier to show an Action Sheet on iPhone and a Popover on iPad and Mac. Write just once the actions for the menus.
- 🃏CardStackA easy-to-use SwiftUI view for Tinder like cards on iOS, macOS & watchOS.
- Floating Tab BarA floating tab bar made in SwiftUI
- iOS Calculator Clone for iPadOS using SwiftUIA clone of the native iOS built-in Calculator for iPadOS using SwiftUI, mimicking the native Calculator UI and funtions.
- StepperViewSwiftUI iOS component for Step Indications
- 🔆 UrbanVillageProjectScreensRecreations of the Urban Village Project concept screens.
- 🍱 SharedObjectA new property wrapper for SwiftUI
ObservableObject
. - 🧭 BetterSafariViewA better way to present a
SFSafariViewController
or start aASWebAuthenticationSession
in SwiftUI. - MGFlipViewallows to create flipping view in easy way without worrying about flipping animation and flipping logic.
- SwiftUIListSeparatorView extension to hide/modify List separators in SwiftUI iOS13 and iOS14.
- InfiniteScrollerHorizontal and Vertical collection view for infinite scrolling that was designed to be used in SwiftUI
- SwiftUI TooltipSwiftUI Tooltip implementation that works on all platforms and supports SwiftUI v1.0
- SVG to SwiftUISVG to SwiftUI Shape converter
- ClendarClendar is an open-source & universal calendar app, written in SwiftUI.
- Corona Widget😷 open-source iOS 14 widget to get latest stats on Covid-19.
- URL-Image🔗 Open-source solution for quickly displaying
Images
via URL. - SFSafeSymbolsA SF Symbols enum that safely automatically updates upon build.
- Confetti-View🎉 A simple confetti view for apps using SwiftUI.
- Open Source SwiftUI Documentation🚀🌎 open-source SwiftUI documentation!
- SwiftUIChartsA simple line and bar charting library that supports accessibility written using SwiftUI.
- MarkdownUIRender Markdown text in SwiftUI.
- InstasoupInstagram home page SwiftUI implementation.
- FlowStacksCoordinator pattern in SwiftUI.
- ASCollectionViewA SwiftUI collection view with support for custom layouts.
- QGridThe missing SwiftUI collection view.
- FlowStack.A grid layout component.
- GridStack.A flexible grid layout view for SwiftUI.
- WaterfallGrid.A waterfall grid layout view for SwiftUI.
- Grid.SwiftUI Grid with custom styles.
- 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 and State Management: Part 2
- Orient Views Along Circular Motion Path
- SwiftUI-CSS, The missing CSS-like module for SwiftUI
- SwiftUI Live: Building an app from scratch
- DetailsPro - Design tool for SwiftUI
- VulcanAn app for creating SwiftUI apps.
Feel free to contribute!! This repo is yours.