SwiftUI: Getting Started
Jun 10 2019 · Article (25 mins)
In this SwiftUI tutorial, you’ll learn how to layout the UI by declaring and modifying views, and how to use ...
more
SwiftUI: Getting Started
In this SwiftUI tutorial, you’ll learn how to layout the UI by declaring and modifying views, and how to use state variables to update your UI. You’ll use Xcode’s new preview and live preview, and experience the joy of code and WYSIWYG layout that stay in sync.
iOS & Swift
SwiftUI Tutorial: Navigation
Nov 11 2019 · Article (45 mins)
In this tutorial, you’ll use SwiftUI to implement the navigation of a master-detail app. You’ll learn how to ...
more
SwiftUI Tutorial: Navigation
In this tutorial, you’ll use SwiftUI to implement the navigation of a master-detail app. You’ll learn how to implement a navigation stack, a navigation bar button, a context menu and a modal sheet.
iOS & Swift
State Restoration in SwiftUI
Oct 4 2022 · Article (30 mins)
Learn how to use SceneStorage in SwiftUI to restore iOS app state.
State Restoration in SwiftUI
Learn how to use SceneStorage in SwiftUI to restore iOS app state.
iOS & Swift
SwiftUI Tutorial for iOS: Creating Charts
Jan 6 2020 · Article (30 mins)
In this SwiftUI tutorial, you’ll learn how to build a variety of custom charts to effectively model your iOS ...
more
SwiftUI Tutorial for iOS: Creating Charts
In this SwiftUI tutorial, you’ll learn how to build a variety of custom charts to effectively model your iOS app data to your users.
iOS & Swift
Core Data with SwiftUI Tutorial: Getting Started
May 25 2020 · Article (20 mins)
In this Core Data with SwiftUI tutorial, you’ll learn to persist data in an app using @State, @Environment a...
more
Core Data with SwiftUI Tutorial: Getting Started
In this Core Data with SwiftUI tutorial, you’ll learn to persist data in an app using @State, @Environment and @FetchRequest property wrappers.
iOS & Swift
How to Create a Splash Screen With SwiftUI
Sep 4 2019 · Article (20 mins)
Learn to build a splash screen that uses animation and SwiftUI to go beyond the typical static launch screen ...
more
How to Create a Splash Screen With SwiftUI
Learn to build a splash screen that uses animation and SwiftUI to go beyond the typical static launch screen and keeps users interested while the app loads.
iOS & Swift
Getting Started with SwiftUI Animations
Dec 9 2019 · Article (30 mins)
In this tutorial, you’ll learn how to add fancy animations with SwiftUI. You’ll go from basic animations to c...
more
Getting Started with SwiftUI Animations
In this tutorial, you’ll learn how to add fancy animations with SwiftUI. You’ll go from basic animations to complex and custom spring animations.
iOS & Swift
SwiftUI Cookbook
Aug 16 2021 · Book
The SwiftUI Cookbook is a reference for common patterns for creating
user interfaces in SwiftUI that you c...
more
SwiftUI Cookbook
The SwiftUI Cookbook is a reference for common patterns for creating
user interfaces in SwiftUI that you can quickly refer to while coding.
iOS & Swift
Building a Camera App With SwiftUI and Combine
Nov 10 2021 · Article (30 mins)
Learn to natively build your own SwiftUI camera app using Combine and create fun filters using the power of C...
more
Building a Camera App With SwiftUI and Combine
Learn to natively build your own SwiftUI camera app using Combine and create fun filters using the power of Core Image.
Multiple Domains
Kodeco Podcast: UIKit to SwiftUI (V2, S2, E9)
May 9 2024 · Article (1 min)
Join Dru Freeman, Susannah Skyer Gupta, and Danijela Vrzan on the Kodeco Podcast to explore transitioning fro...
more
Kodeco Podcast: UIKit to SwiftUI (V2, S2, E9)
Join Dru Freeman, Susannah Skyer Gupta, and Danijela Vrzan on the Kodeco Podcast to explore transitioning from UIKit to SwiftUI for iOS development.
iOS & Swift
Sign in with Apple Using SwiftUI
Sep 23 2019 · Article (25 mins)
Learn how to implement Sign in with Apple using SwiftUI, to give users more privacy and control in your iOS a...
more
Sign in with Apple Using SwiftUI
Learn how to implement Sign in with Apple using SwiftUI, to give users more privacy and control in your iOS apps.
iOS & Swift
SwiftUI by Tutorials
Jun 14 2023 · Book
Build fluid and engaging declarative UI for your apps — using less code — with SwiftUI!
SwiftUI b...
more
SwiftUI by Tutorials
Build fluid and engaging declarative UI for your apps — using less code — with SwiftUI!
SwiftUI by Tutorials is designed to help you learn how to transition from the “old way” of building your app UI with UIKit, to the “new way” of building responsive UI with modern declarative syntax with SwiftUI.
This book is for readers who are comfortable building Swift apps, and want to make the exciting leap into building their app UI with modern, declarative code.
What is SwiftUI?
SwiftUI lets you build better apps, faster, and with less code. It’s a developer’s dream come true!
With SwiftUI, you can design your user interfaces in a declarative way; instead of developing app interfaces in an imperative way, by coding all of the application state logic before time, you can instead define what your app’s UI should do in a particular state and let the underlying OS figure out how to do it.
What’s more is that SwiftUI lets you build modern, responsive UI and animations for all Apple devices — not just iOS. So whether you’re building apps for iOS, watchOS, tvOS or any other Apple platform, you can use the same concise, natural language to describe your UI and have it look stunning — no matter where your code runs.
In addition, SwiftUI’s built-in automatic support for things such as dark mode, localization and accessibility, along with Xcode 11 support for drag-and-drop design and instant preview makes it easier to build apps than ever before.
How is this book different than SwiftUI Apprentice?
Our other book on getting started with SwiftUI, SwiftUI Apprentice, is designed to teach new developers how to build iOS apps, using a SwiftUI-first approach. The goal of that book is to teach you fundamental development practices as you build out some fully-functional and great-looking apps!
This book, SwiftUI by Tutorials, is designed for developers who have a solid background in iOS development, and are looking to make the leap from building apps with UIKit, to building apps with SwiftUI.
iOS & Swift
Interactive Widgets With SwiftUI
Jan 22 2024 · Article (20 mins)
Discover how iOS 17 takes widgets to the next level by adding interactivity. Use SwiftUI to add interactive w...
more
Interactive Widgets With SwiftUI
Discover how iOS 17 takes widgets to the next level by adding interactivity. Use SwiftUI to add interactive widgets to an app called Trask. Explore different types of interactive widgets and best practices for design and development.
iOS & Swift
async/await in SwiftUI
Jun 21 2021 · Article (35 mins)
Convert a SwiftUI app to use the new Swift concurrency and find out what’s going on beneath the shiny surface.
async/await in SwiftUI
Convert a SwiftUI app to use the new Swift concurrency and find out what’s going on beneath the shiny surface.
In this tutorial, you’ll use SwiftUI to implement the navigation of a master-detail app. You’ll learn how to ...
more
SwiftUI Tutorial: Navigation
In this tutorial, you’ll use SwiftUI to implement the navigation of a master-detail app. You’ll learn how to implement a navigation stack, a navigation bar button, a context menu and a modal sheet.
Learn how to use ViewBuilder to create reusable SwiftUI views. Understand how to refactor views, including how to use type constraints and convenience initializers.
iOS & Swift
Realm With SwiftUI Tutorial: Getting Started
Jun 14 2022 · Article (30 mins)
Learn how to use Realm with SwiftUI as a data persistence solution by building a potion shopping list app.
Realm With SwiftUI Tutorial: Getting Started
Learn how to use Realm with SwiftUI as a data persistence solution by building a potion shopping list app.
iOS & Swift
How To Secure iOS User Data: Keychain Services and Biometrics with SwiftUI
Aug 31 2020 · Article (30 mins)
Learn how to integrate keychain services and biometric authentication into a simple password-protected note-t...
more
How To Secure iOS User Data: Keychain Services and Biometrics with SwiftUI
Learn how to integrate keychain services and biometric authentication into a simple password-protected note-taking SwiftUI app.
Multiple Domains
Multiplatform App Tutorial: SwiftUI and Xcode 12
Mar 15 2021 · Article (25 mins)
Learn how to use Xcode 12’s multiplatform app template and SwiftUI to write a single app that runs on every A...
more
Multiplatform App Tutorial: SwiftUI and Xcode 12
Learn how to use Xcode 12’s multiplatform app template and SwiftUI to write a single app that runs on every Apple platform.