A First Responder in iOS is the object that is currently receiving events- typically text input. In this movie, see how to programmatically choose which object is currently the first responder, and see what impact this information can have on your applications as you continue to develop for iOS using Xcode 7.
- [Voiceover] One of the important ideas…in iOS programming is the idea…of first responders.…The first responder is the object…that's currently receiving events.…For example, when I click inside of this text field here,…the keyboard might come up.…Now I say might because it should normally come up…based on your settings.…So if we go to hardware, keyboard and we can choose…to toggle the software keyboard…or not.…
Now, there's also this setting…that says connect hardware keyboard.…So when we have this checked it's as if we've connected…a Bluetooth keyboard to our iOS device.…And that's how the simulator is saying your keyboard…that's connected to your computer.…So you can uncheck that if you want.…I'm going to leave it checked…but I'm going to toggle the software keyboard…and show it on the screen…by choosing here or obviously clicking command K.…So there's my software keyboard right there.…I'm going to type in my name and…then I'm going to click Tap me.…
Now once I've had the software keyboard show up…it doesn't go away.…
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.