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 requests

Viewing requests - iOS Tutorial

From the course: Shared Economy for iOS Development

Start my 1-month free trial

Viewing requests

- [Instructor] Now we want to set up he UI to list the request the same way we set up listing users so we have to create a class that inherits from UI table view controller, and implement it very similarly to the way that we're adding the users, so I'm going to create a new Cocoa touch class and I'm going to name it request table view controller, and I'll create that, and before we forget, let's go to the story board and set this root view controller to be that type, so it's going to be a request table view controller, and we want to set the cell identifier to cell REQ, and then in the code, we'll use that to DQ the cell. So in the request table view controller we're going to copy a lot of pieces of code from the view controller, so let's start at the top. First we'll copy these imports, and then we'll go down from there, we do want the app sync client, and we want the array, but it won't be of users, so we copy those two properties, but we'll change these users to requests and the…

Contents