     }
 
     override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
-        return objects.count
+        return exampleDescriptions.count
     }
 
     override func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
         let cell = tableView.dequeueReusableCellWithIdentifier("Cell", forIndexPath: indexPath) as UITableViewCell
 
-        let object = objects[indexPath.row]
+        let object = exampleDescriptions[indexPath.row]
         cell.textLabel.text = object
         return cell
     }


class MasterVC: UITableViewController {

    var objects = ["Wait overlay", "Wait overlay with text", "Overlay with text only", "Annoying notification on top"]
    var types: Array<OverlayExampleVC.ExampleType> = [.Wait, .WaitWithText, .TextOnly, .AnnoyingNotification]

    override func awakeFromNib() {

            if let indexPath = self.tableView.indexPathForSelectedRow() {
                let type = types[indexPath.row]
                (segue.destinationViewController as OverlayExampleVC).type = type
                (segue.destinationViewController as UIViewController).title = exampleDescriptions[indexPath.row]
            }
        }
    }
