- [Instructor] So, on our screen, we have a Label…and a Button in Interface Builder.…Let's say I wanted to change that Label using code…when I click on the Button.…So, I'll start by just moving…that Label into place by following those guides.…I'm just clicking and dragging it.…I'll do the same thing for the Button.…With a Label, when we change the text through code,…it's not going to expand its bounding box,…so if you want to have any more text than…what it says right here where it says Label,…you need to expand the size of the Label.…

You can do that by clicking and dragging the handles.…So, I'm going to drag the center right handle,…just like that,…so we have a little bit more text.…Now let's look at modifying these using code.…The first step is to connect these…two user interface elements to code…and the connections for these are going…to be different from each other.…The Label is something that we want to modify with code,…we want to be able to change the text that's inside of it.…The Button doesn't need to be modified with code,…

Resume Transcript Auto-Scroll

Author

Released

2/7/2018

Xcode is the official IDE for macOS, iOS, watchOS, and tvOS. This tool has been popular since the first release, but Xcode 9 delivers an even easier and more efficient workflow. Follow along with instructor Todd Perkins to learn how to build your own apps with Xcode 9.

First, learn how to install Xcode and create a new project. Then find out how to edit code; leverage helpful features like the Assistant Editor, playgrounds, and snippets; and integrate version control with GitHub. Discover how to use Interface Builder, Xcode's intuitive UI design tool, to design a responsive interface that adapts to screen size, aspect ratio, and orientation changes. Todd also shows how to map application flow with storyboards, and reviews the basics of schemes and behaviors. Plus, learn how to compile and debug your code, test apps in the iOS Simulator, and submit apps for publication in the App Store directly from Xcode 9.