Date Pickers are user interface objects that are more complex than labels. To properly utilize a date picker component, you will need to use both Interface Builder and Code. In this movie, see how to create a Date Picker, how to place it correctly on the screen in your apps, and how to use it in code to set a date.
- [Voiceover] So we've looked at…some basic controls already.…We've used Labels and Buttons,…and we've talked about Views briefly.…For those controls, you can modify…most of their attributes in the Attributes Inspector…and you can add the code connections…through the Connections Inspector.…There are some controls, however,…that are a little bit more complicated.…Let's look at some of those now.…We're going to start out using a Date Picker.…So in the Object Library, I'm going search for "picker."…And the Date Picker and the Picker View show up.…
The Date Picker shows some spinners…where you can select a date,…and you can kind of customize…the format of the date that you wanna show.…For the Date Picker, you have a list,…for a Date Picker, you have some spinners…where you can set the date.…And you also get to customize the format of the date,…and we'll look at how that works in just a second.…The Picker View is more of a generic Picker View…and you can customize the data however you'd like.…In other words, you can have as many sections…
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.