From the course: Shared Economy for iOS Development

Unlock the full course today

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

Request details

Request details - iOS Tutorial

From the course: Shared Economy for iOS Development

Start my 1-month free trial

Request details

- [Instructor] When the user taps on the user to request the mowing, they see the details with map and so on. And we want to do the same type of thing with the request. So I'm going to add a new class into the mower app group. New file, Cocoa Touch, and instead of a table view it's going to be a view controller, just like we did for the mower details. This is going to be the request details view controller. So we'll add this to our project and then we're going to lay it out in the storyboard. So now this view controller is going to be that type. So I'll bring up the class inspector, make it that type, and then I can drop my UI on here and create my connections. So we want to have a button just like we did before for accepting the request. We'll have a label for the address or the distance, whatever we want to display there. And we'll have a map view just like we did before. I'm going to wire these up for connections in the code. And then I'll also create the auto-resizing here so that…

Contents