Skip to content

Files

Latest commit

032d01d · Jul 30, 2015

History

History
15 lines (12 loc) · 675 Bytes

2015_07_30.md

File metadata and controls

15 lines (12 loc) · 675 Bytes

Exercise

Step 1:

  • Create a new Xcode project
  • In your storyboard, swap out the default UIViewController with a UITableViewController
  • Create a new class, a subclass of UITableViewController, called CQOrchestraTableViewController
  • Update the class name of the UITableViewController in your storyboard

Step 2:

  • In CQOrchestraTableViewController, create a property of type NSDictionary * called orchestra
  • In viewDidLoad, initialize your dictionary with the appropriate key-value pairs.

Step 3:

  • Implement the UITableViewDataSource methods to display the data in self.orchestra
  • Celebrate!