From the course: iOS Lean Controllers: 2 Controls, Views, Extensions, and Networking

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

What's wrong with the current approach

What's wrong with the current approach

- [Instructor] Welcome back. After creating the add new item view custom control, let's go ahead and work on our application much further and create our view controller for the grocery items table view controller, which will be responsible for this particular screen, where we will display the grocery items table view controller. Meaning grocery items like cookies, (mumbles), fish, bread, milk, water, whatever you're purchasing from the particular shopping list. The first thing I'm gonna do is I'm definitely going to add a new view controller, which will be a Cocoa Touch Class, and I will use Swift and I can call it anything. So, I'm thinking of calling it grocery items table view controller, which will be off time table view controller. So, all of this will be very, very similar to the one that we already did, which is the shopping list table view controller. Now, if you take a look at the shopping list table view controller, we are using shopping list data source and we are using…

Contents