From the course: iOS 17 Development Essential Training
Unlock this course with a free trial
Join today to access over 24,000 courses taught by industry experts.
Challenge: Storyboards
From the course: iOS 17 Development Essential Training
Challenge: Storyboards
- [Instructor] And now for this chapter's challenge. To review what we've covered in the chapter, we've talked about storyboards, connecting UI elements to code, toggling the visibility of the keyboard, and we've talked about using auto layout pins. The challenge for this chapter is to add a label that says "Name" next to the text field. Use auto layout pins so it looks good on different devices and screen orientations. And for extra credit, change the text on the button to, "Say Hello." And for extra, extra credit, hide the text in the label before the button is pressed. This challenge should take about 10 minutes to complete.
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
-
-
-
-
-