Filters

Hide filters
Platform
Content Type
Difficulty

All Tutorials · 18 Results

Contained in: SwiftUI Fundamentals swiftui
iOS & Swift
SwiftUI Fundamentals
…introduction to building iOS user interfaces with SwiftUI! Learn about SwiftUI Views and modifiers, common SwiftUI controls, fundamental layout tools, navigation and data flow, and how to make the most of SwiftUI previews…
iOS & Swift

Introduction

…this introductory episode, find out a bit about SwiftUI in general and what you can learn from this course…
iOS & Swift

The View Protocol

View protocol is the foundational building block of SwiftUI. Get a SwiftUI app running and try out some of SwiftUI’s basic components, built on View…
iOS & Swift

Conclusion

…conclusion to this course, review what you’ve learned and find out where you can go to learn more about making apps with SwiftUI…
iOS & Swift

State & Binding

…that’s working too! Which is great, but, you might wonder why you needed to do all that state and binding business. In SwiftUI, Views are functions of their state and data is a first class citizen. When the data driving a View changes, that View…
iOS & Swift

Modifiers

Modifiers can change the appearance and functionality of your SwiftUI views. Find out how they work and how to chain them together…
iOS & Swift

Observable Objects

Combine makes it easy to take an object, observe changes to its properties and react to those changes, in SwiftUI…
iOS & Swift

Introduction

Take in a high-level overview of navigation and data flow in SwiftUI and find out what you’ll learn in this part of the course…
iOS & Swift

State & State Objects

State is only intended to work with value types. What happens when you have an actual reference type that you need to use with SwiftUI? Fortunately, @State comes with a companion for reference types: @StateObject, which works like @State, but is made specifically for reference types. Let’s take…
iOS & Swift

Repeat Views with ForEach & Lists

ForEach & Lists make it a breeze when iterating over a collection of data to produce similar SwiftUI Views. All you need is a unique ID for each element…
iOS & Swift

Present Modal Views

Navigation View isn’t the only way to show new views in your app. SwiftUI also gives you a component type called Sheet . You probably recognize this from the Apple Music App and the Mail app and it is a fantastic way to modally present a View…
iOS & Swift

Challenge: Stacks & ForEach

…nothing in that starter file that you couldn’t make yourself, including the data model. All you need is your own Swift skills, regular SwiftUI components, and some SFSymbols. So, you can start from scratch! Remember that SwiftUI is great for extracting and reusing little views. And, I recommend employing…
iOS & Swift

Environment

…using the environmentObject() view modifier when you create that view. And the place to do that is in main app file. That’s the SwiftUI file where the @main entry point is declared. Find the place where our main view, MovieList, is created. And pass it a new UserStore…
iOS & Swift

Layout with Stacks

…most powerful SwiftUI components is the Stack . You’ve already seen how easy it can be to add a VStack component and place just about anything you wanted in there, but how exactly do they work? Depending on which way you want your UI elements to flow, there…
iOS & Swift

NavigationViews

There are two main ingredients you need to get started with Navigation in SwiftUI. First, you wrap the content at the top level inside a NavigationView. With that, you can do things like add a navigation bar, and a nav bar title to your views. When you want to navigate…
iOS & Swift

Challenge: Views & Modifiers

…your first hands-on challenge, practice everything you’ve learned about views and modifiers, and try out a few new SwiftUI controls…
iOS & Swift

Challenge: Navigation & Bindings

…this hands-on challenge, practice everything you have learned about navigation and state in a SwiftUI…
iOS & Swift

Challenge: StateObject & ObservableObject

…accent color Add a property for the symbol name Don’t forget to import Combine since you’re using ObservableObject, and also SwiftUI since you’re using Color struct LookAndFeelInfo { let accentColor: Color let symbolName: String } Next go to LookAndFeelView to update the view and hook it into the store…