CS 185C/286 - Lecture 14

Cover page image

Cay S. Horstmann

Lecture 14 Quiz 1

To which protocol does numberOfRowsInSection belong?

  1. BIDViewController
  2. UIViewController
  3. UITableViewDataSource
  4. UITableViewDelegate

Lecture 14 Quiz 2

The author added images to each cell by calling

UIImage *image = imageNamed:@"star.png";
cell.imageView.image = image;      
    

Which of the following is true?

  1. The author defined properties imageView and image
  2. The author defined the imageView property, but every image view has an image property
  3. The author defined the image property, but every cell has an imageView property
  4. The author didn't define either property.

Today's Lecture/Lab

Tables

Reading Before Next Class

Lab

Simple Tables