Join Todd Perkins for an in-depth discussion in this video Challenge: An on/off switch, part of iOS 13 Development Essential Training: 2 Web Content, Views, and Distribution.
(upbeat music)…- [Instructor] And now for this chapter's challenge.…Before that, a review.…In this chapter, we talked about…more user interface objects, like alerts,…images, sliders, progress bars, and so forth.…We talked about handling the valueChanged event…so we can respond when a UI object's value changes.…We've also talked about how most UI objects…work in exactly the same way.…
And finally, we discussed how to code actions…for a button so you can respond to a button press.…And now for the fun part, the challenge.…As usual, this challenge is designed to stretch you.…I'm going to ask you to do something…we haven't yet discussed in the course.…But I think you can do it based on what we've learned…up in this series to this point.…The challenge is to build an on and off switch.…In this app, a switch will toggle a label's text…to display either the text On or Off,…depending on whether the switch is on or off.…
If you want an extra challenge,…stop the movie now and start the challenge.…For those of you who would like some advice,…
- Advanced UI controls
- Creating alert controllers
- Displaying web content
- Creating a collection view controller
- Creating a custom data type
- Creating tabbed apps
- Importing and setting icons for your apps
- Publishing your app to the App Store
Skill Level Beginner
iOS and watchOS App Development: Notificationswith Steven Lipton3h 45m Intermediate
1. Mastering Views
2. Display Web Content
3. Collection Views
4. Multi-View Templates
5. Publish an App
Next steps1m 21s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.