From the course: Shared Economy for iOS Development

Unlock the full course today

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

Viewing details

Viewing details - iOS Tutorial

From the course: Shared Economy for iOS Development

Start my 1-month free trial

Viewing details

- [Instructor] Now, let's allow the user to tap on a row and see the details. So we have to go back to the storyboard and update our UI here. So I'm going to bring up the object library, and I'm going to drop a map, drop the map view on the UI, and I'm also going to have a label for the name and a button, the name of the mower, and a button to request service. And I'm going to set up the auto-resizing for this, and on the map, I'll specify that it's anchored to both sides. It'll scale up and down. Could definitely come up with a better UI, but for now, this will work. And this label as well, I'm going to make it a little bit bigger, too, and leave it on the left side, and the button would say, Mow Please, and we'll set up an action for that. So we need two outlets and an action. So I'm going to bring up my ViewController for this class, which we haven't created yet. So let's create a new class, we'll say New File under the MowerApp, a Cocoa Touch Class because, this time, it's going…

Contents