In this SwiftUI 2 tutorial you will learn how to develop an Onboarding screen for iOS 14 application in Xcode 12 code editor. By building Fructus app, a colorful encyclopedia of fruits you will learn many new features that Apple's engineers added to SwiftUI 2 framework.
SwiftUI offers new features, improved performance, and the power to do, even more, all while maintaining a stable API that makes it easy to bring your existing SwiftUI code forward into Xcode 12.
One of the main learning objectives is to create a fully-featured Onboarding screen with the new Page Tab View capability provided by the updated SwiftUI 2 framework.
Users if they want, now they can restart the application by toggle the switch in the Settings screen. That way the app starts the onboarding process and we will see the welcome screen again.
Every outstanding app needs to have a well designed and thoughtful Settings screen. This iOS 14 application is no exception from that. You will get familiar with many new SwiftUi 2.0 views and features building this Settings screen.
You can download the pdf workbook file and take a look all of the various iOS 14 app development topics that we’re going to cover in this SwiftUI 2.0 tutorial.
As you can know by now, this course provides you excellent image assets with high-quality custom app icons as always. This will give you a real-life experience of how an app developer works with a professional app designer together.
I'm sure that you will enjoy the development process and you will be glad by looking at the finished application.
The vastly improved SwiftUI framework is shipped with a brand new life cycle management API for apps built with SwiftUI let us write our entire app in SwiftUI and share even more code across all Apple platforms. It's providing faster performance, better diagnostics, and access to new controls.
With an all-new design that looks fresh and modern on macOS 11 Big Sur, Xcode 12 has many great improvements such as:
Streamlined and much faster code completion,
Universal apps by default to support Mac with Apple Silicon, etc.
Improved Canvas with many new features for Previews
How to set up a new iOS 14 project with the new SwiftUI App Life Cycle.
How to develop a unique Onboarding screen
How to use the new AppStorage in SwiftUI 2 framework
How to delete Todo items and update the database with SwiftUI
How to create custom and reusable Views with SwiftUI
How to build a complex Settings view with many sections
How to use the improved Canvas and Previews in Xcode 12
How to retrieve local data using Structs in Swift 5.3
How to display multiple Views automatically with ForEach loop
How to create an outstanding Settings view
How to add App Icons to the iOS 14 project in Xcode 12
How to support Dark / Light mode user interfaces with SwiftUI
How to test the iOS 14 app in Xcode Simulator
Get familiar with the new features in Xcode 12
The new SwiftUI App Lifecycle replaces the UIKit’s App Delegate and Scene Delegate in iOS 14. There are brand new protocols and property wrappers to reduce boilerplate code such as App protocol, Scene protocol and Window Group protocol.
SwiftUI's new App Storage property wrapper is used to read and write values to the UserDefaults local storage. Every time when this value of the AppStorage property changes in the app, then SwiftUI view is invalidated and redrawn on the screen automatically.