From the course: Building a Note-Taking App for iOS 11 with Swift

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Connect UI objects to code

Connect UI objects to code

From the course: Building a Note-Taking App for iOS 11 with Swift

Start my 1-month free trial

Connect UI objects to code

- [Instructor] Our next step is to connect our table view to our code, and when we do that, it becomes a property in our code. To do that, I'm going to use the assistant editor. That's the button with the two circles at the top inside of the toolbar. If you click on that, it's going to show two windows in the main editor view. It just so happens that I have my user interface on the left and my code on the right. Personally, when I use the assistant editor, I usually don't use this button at all. I usually Option-click the file that I want to appear on the right side. So if you head over to navigator and hold the Option key on your keyboard and click ViewController.swift, it's going to put that file on the right side. Files that you left-click are going to appear on the left side. That said, let's set up our code connections. It's really difficult right now to see my table view with my limited screen real estate. So what I'm going to do is hide the navigator and the utility area. I'm…

Contents