SwiftUI - Declarative Interfaces for any Apple Device
Updated for Xcode 11 - Includes State, Binding, ObservableObject, MVVM, Web API, Core Data, Core ML
- Building iOS apps using SwiftUI framework
- Implementing MVVM Design Pattern using SwiftUI
- Consuming JSON Web API using SwiftUI
- Xcode 11
- macOS Catalina is recommended
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.
Basic understanding iOS architecture
knowledge of Swift programming language
In this section you will learn the purpose of SwiftUI framework. SwiftUI is available on Xcode 11 and I will demonstrate how you can run SwiftUI on macOS Mojave Playgrounds.
Creating and Combining Views
In this section you will learn the structure of the SwiftUI framework. You will learn about layout views including VStack, HStack and ZStack. You will also learn how to add images to your application.
Building List and Navigation
In this section you will learn how to display a scrollable list in SwiftUI. You will use the power of List control to structure and configure your interface. You are also going to learn how to add navigation to your application and perform animation effects.
Understanding State and Binding
State and Binding are the heart of SwiftUI framework. In this section you will learn the concept of state and how it helps to keep the interface in sync. You are also going to learn the concepts behind binding and implement bi-directional binding. Finally, you will learn about BindableObject protocol and how it can help to create more reactive apps in iOS.
Understanding MVVM Design Pattern
In this section you will learn about MVVM Design Pattern. MVVM Design Pattern is the prefered pattern when you are working with SwiftUI applications.
Fetching Data from JSON Web API
In this section you are going to create a complete News App which will showcase how to fetch data from a JSON Web API and display in a SwiftUI application. You will implement this application using the MVVM Design Pattern.
- iOS developers who want to learn about the new SwiftUI Framework
- Swift developers who wants to learn about SwiftUI Framework