Sliders and Progress Bars handle numerical data. A slider can be dragged usually from left to right. A progress bar is meant to show the progress of a task in your application. This movie demonstrates how to use both sliders and progress bars in Xcode 7 with the iOS SDK, including handling events when values change.
- [Voiceover] While we're on the topic…of user interface elements,…let's cover the main objects that you're going to be using…when developing your iOS applications.…Let's talk about, in this movie, sliders and progress bars.…So in the object library, I'm going to search for a slider,…and I'm going to just drag and drop that at the top left.…And I'll use the handle to extend it a little bit.…And then I'm going to search for a progress bar.…And that in iOS is called a progress view,…so I'm going to click and drag that.…And of course, you can change the size of that as you wish.…
I'm gonna take up about half the screen.…They don't need to be the same size.…They can be whatever size you want.…So just with most other user interface elements,…you can select these items and modify their properties…in the attributes inspector.…So for the slider, for example,…we can set a Minimum and a Maximum Value.…So if we wanted it to go from zero to 10,…we can make that change there.…Note that the current value is 0.5,…so a slider does accept decimal numbers.…
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?
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.