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 ...

Get Beginning iOS Storyboarding with Xcode: Easily Design and Develop Your App, from Concept and Vision to Code now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.