Sometimes, code connections to user interface elements don't work as expected. In these cases, you will need some skills to troubleshoot this problems. This movie demonstrates some of the solutions to common user interface to code connection problems, and how to solve them when developing your iOS applications.
- [Voiceover] One of the common problems…to those new to iOS development…is doing something wrong in connecting…user interface objects to code.…The problem is that sometimes you feel like…you did everything right,…and it's still not working.…So how can you fix those problems?…Well, the first thing that you wanna do…is head over to your Storyboard.…So let's say I'm clicking on this button,…and nothing is happening.…
So what I can do is click on the button…inside of my Storyboard,…and then go to the Connections Inspector.…Inside of the Connections Inspector,…I can scroll in the Sent Events,…so I should see next to Touch Up Inside,…or whatever event I chose,…I should see that the connection was made.…I can see that Touch Up Inside is circled right here,…and I can see that it's connected…to the View Controller class's…ButtonWasClicked method.…With that button selected, I can see the connections.…
So if I click on this text field, same thing.…I can see that the delegate was set.…And I can scroll down, and I can see…that it's referenced by View Controller,…
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.