         // Connect table view to this controller (done in storyboard too)
         favoritesTableView.dataSource = self
         favoritesTableView.delegate = self
-        favoritesTableView.registerClass(UITableViewCell.self, forCellReuseIdentifier: favoriteCellName)
+        favoritesTableView.registerClass(UITableViewCell.self,
+            forCellReuseIdentifier: favoriteCellName)
+
+        // Table view visuals:
+        favoritesTableView.rowHeight = 50.0
+        favoritesTableView.tableFooterView = UIView(frame: CGRectZero) // remove empty cells
     }
 
     /* viewDidAppear:

    let favoriteClassName = "Favorite"
    let userColumnName = "user"

    @IBOutlet var favoritesTableView: UITableView!



        }
    }

    /* emptyBackgroundText
        creates a backgroundView for when there is no data to display.
        text = text to display.
    */
    func emptyBackgroundText(text: String) -> UILabel {
        let noDataLabel: UILabel = UILabel(frame: CGRectMake(
            0, 0, favoritesTableView.bounds.size.width,
            favoritesTableView.bounds.size.height))
        noDataLabel.text = text
        noDataLabel.textColor = UIColor(
            red: 22.0/255.0, green: 106.0/255.0, blue: 176.0/255.0, alpha: 1.0);
        noDataLabel.textAlignment = NSTextAlignment.Center;
        return noDataLabel;
    }


}
