From the course: Apple watchOS 7 App Development Essential Training

Unlock the full course today

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

Connect objects to code

Connect objects to code - watchOS Tutorial

From the course: Apple watchOS 7 App Development Essential Training

Start my 1-month free trial

Connect objects to code

- [Instructor] We've got our storyboard. And now we'll hook it up to the controller. First, I'll need a controller for that detail controller I just made, and the exercise files, you'll find two files to help you with that, so let's go over here to finder, and there they are, you'll find them in the assets and code folder. And I'm going to go ahead and go above here first and do a Command One, so I can see my navigator and then I'll pick those up again. And I'm going to drag both of those into my extension. Remember, for controllers, you're going to want them on your extension. And then we'll let them go. And yes, to copy items, if needed, I will create folder references if necessary, but big important one, make sure that it's in the extension. Otherwise, this will not work. And I can't see my okay button here, so I'm going to close up my objects, and hit finish. All right, so now I've got those in there, and you can see…

Contents