One of the key parts of development is connecting user interface, or UI, objects to your code. This video shows the basics of working with code and user interfaces simultaneously in the most effective way possible.
- [Instructor] Our next step is to connect … our user interface that we've created to our code. … Namely, we want to connect this text view to our code … so we can modify it at runtime. … And we want to connect this trash button … to our code as well. … Before we do that, I'm going to delete all the text … inside of that text view. … One way to do that is to select the text view, … go over to the attributes inspector, … find that dummy text that's in there, … select it, and delete it. … Note that you're going to have to press return … to commit the change. … So notice when I press return, the text view cleared. … So if you click away, it'll look like the text view's … not there anymore but if you click in here … you'll see that it is there. … So now let's connect this to our code. … The first thing I'm going to do is get a little bit … more screen real estate because I'm currently … running on a low resolution. … So I'm going to hide the document outline. … I can do that with this button right here. …
- Creating an Xcode project
- Navigating the Xcode interface
- Running your first app
- Building layouts with storyboards
- Connecting UI elements to code
- Coding interactivity