O'Reilly logo

Beginning iOS Storyboarding with Xcode: Easily Design and Develop Your App, from Concept and Vision to Code by Stephen M. Moraco, Yulia McCarthy, Rory Lewis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8

Mastering Table Views with Storyboarding: Coding the Back End

So far, without writing any code, you’ve designed a pretty complex Inventory system that will keep track of items—in this case, Apress books—and add items to the database from the app itself. As you saw in Chapter 7’s Figure 7-87, it all works except that you don’t have any data linked to the app.

Here in Chapter 8, in step 3 of 3 for the app, you’ll be writing code that will connect your SQLite database to each of the View Controllers you created in Chapter 7.

Step 3: Insert the Code Behind the Storyboard Elements and Tweak a Couple Storyboard Necessities

Let’s start this third step by creating a custom UITableViewCell subclass.

Creating a Custom UITableViewCell subclass ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required