From the course: iOS 14 Development Essential Training
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Choosing between SwiftUI and storyboards
From the course: iOS 14 Development Essential Training
Choosing between SwiftUI and storyboards
- [Instructor] There are two primary ways to create user interfaces for iOS apps. One is to use something called storyboards, which is a visual interface for designing user interfaces. The other is called SwiftUI, which allows you to create the interfaces using Swift code. In this course, we're going to be covering both techniques because SwiftUI is relatively new, but it's likely to become the standard for developing iOS apps in the future. For that reason, I think it's important to cover both. In this chapter, we're going to focus on creating apps using storyboards. So I'm going to create an iOS app and hit Next, and the way that you decide whether you're going to use SwiftUI or storyboards is the interface dropdown right here in the options for your project. I'll call this Storyboards, and for interface I'm going to choose storyboard and I'm going to leave the life cycle at UIKit App Delegate, language at Swift, leave…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Choosing between SwiftUI and storyboards3m 4s
-
Drag-and-drop user interface creation with storyboards4m 31s
-
Change a label's text at runtime5m 4s
-
Handling a button press5m 14s
-
Using text gathered from text fields5m 33s
-
Showing the keyboards1m 44s
-
Dismissing the keyboard2m 49s
-
Working with pins4m 27s
-
Troubleshoot common UI problems6m 21s
-
Challenge: Storyboards1m 58s
-
Solution: Storyboards3m 59s
-
-
-
-
-