Sometimes user interface elements don't work as planned. In most of these cases, the connections to code are incorrect and need troubleshooting. This video demonstrates how to troubleshoot these bad or broken connections.
- [Instructor] One of the most common mistakes…that new iOS developers make deals with connecting…user interface elements to code.…So let's talk about how to troubleshoot these connections.…As an example, let's say I have my app here,…and I enter my name in there and I hit the button,…and nothing happens.…Let's take a look at our code.…I'll stop the running application first,…and then if you have the exercise files,…I recommend looking through ViewController.swift…and your storyboard file to see if you could…fix the problem.…
The first place to look is in your code…to see if the connections are made…to user interface objects.…You can do that by looking where the line numbers…are to see if the circles by your code objects…are filled in,…so we can see that label and textField are filled in.…I do wanna point out though, that usually…when you first open an Xcode project,…those are not going to be filled in.…For me they normally take about 30 seconds to fill it,…so you might see something you think is an error,…but it's not actually an error.…
- Installing and using Xcode
- Working with storyboards
- Working with UI objects and events
- Resizing objects and layouts dynamically
- Coding UI objects such as buttons
- Loading and displaying data in table views
- Testing your iOS app
Skill Level Beginner
1. Xcode Fundamentals
2. Core Skills
3. Responsive UI Design
4. Coding UI Objects
5. Table Views
6. App Flow and Testing
Next steps1m 8s
- 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.