From the course: iOS 17 Development Essential Training
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
Troubleshoot common UI problems
From the course: iOS 17 Development Essential Training
Troubleshoot common UI problems
- [Instructor] One of the most common problems you'll run into when working with storyboards and iOS is broken connections. A broken connection is where there's some UI element that is not properly connected to code, and this will manifest as a button not working, for example. So let's take a look at an example of a broken connection and how to resolve it in Xcode. I'm going to put my name in the text field and then I'm going to click this button and you'll notice that it does nothing. This happens if there's some kind of issue with the connection of either the button to your code, or the label to your code, or this text view to your code. Let's go over to Xcode and look at how to fix these connection issues. One way to view connections in Xcode is through the Connections Inspector, which is the right most button in the inspector bar. With the Connections Inspector selected, you want to select your view controller. Now…
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 storyboards2m 15s
-
(Locked)
Drag and drop user interface creation with storyboards4m 12s
-
(Locked)
Change a label's text at runtime4m 43s
-
(Locked)
Handling a button press2m 32s
-
(Locked)
Using text gathered from text fields4m 21s
-
(Locked)
Showing the software keyboard2m 2s
-
(Locked)
Dismissing the software keyboard2m 41s
-
(Locked)
Troubleshoot common UI problems5m 26s
-
(Locked)
Working with pins4m 25s
-
(Locked)
Troubleshooting pins5m 13s
-
(Locked)
Challenge: Storyboards46s
-
(Locked)
Solution: Storyboards3m 29s
-
-
-
-
-