Switches are on and off user interface controls, used to toggle features on or off. Segmented controls allow users multiple segmented selections of an item, similar to a radio button. This movie explores how to put Switches and Segmented controls into your applications, and how to respond to their respective events.
- [Voiceover] Let's look at some more user…interface elements.…I'm going to drag out a segmented control,…a switch, and an activity indicator.…Activity indicator is also known as a spinner.…I'm just going to align these two guides here,…and that looks fine, so let's say we want…this activity spinner to stop when we either…click the segmented control, or the switch,…so with the activity indicator view selected, we can choose…the style, so we can choose gray, or white, or large white.…
We can't see those with our current white background,…but if you wanted to change the background,…you can just click on the view,…and you can confirm that it's selected…in the document outline,…and change the background to any other color,…and then you'll see that the…activity indicator view has changed.…Also notice that the segmented control does not…have a background color,…so you may want to change that.…I'm going to press command + z…to undo the change I just made.…Let's go back to the activity indicator,…so it is white, so I'm clicking on it again.…
Interested in developing for Apple Watch or Apple TV? Get a sneak peek in Chapter 9. The course wraps up with a look at the submission process for the App Store.
- Installing Xcode and the iOS SDK
- Creating a simple iOS app
- Creating a basic interaction with a button
- Choosing an object as a first responder
- Creating a user interface with Interface Builder and Auto Layout
- Working with sliders and progress bars
- Creating views to show images and web pages
- Developing responsive layouts with size classes
- Understanding the iOS architecture
- Loading data in table views
- Transitioning between views
- Developing for the iPad, Apple Watch, and Apple TV
- Submitting apps to the App Store
Skill Level Beginner
1. Prepare to Develop an iOS App
2. Core Skills
3. Basic iOS UI
4. More UI Objects
5. Size Classes
6. iOS Application Architecture
7. Table Views
8. Multiple-View Applications
9. iPad, Watch, and Apple TV Development
10. Finish and Submit to the App Store
Next steps2m 10s
- 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.