         // 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:

        }
    }


}

    override func viewDidAppear(animated: Bool) {
        super.viewDidAppear(animated)

        // populate cell array
        populateFavoritesTable();
        favoritesTableView.backgroundColor = UIColor.whiteColor();
        favoritesTableView.backgroundView = nil;

        // if nothing in cell array, display background message:
        if favoriteCells.isEmpty {
            // if user not logged in, needs to log in to store favs:
            if currentUser == nil {
                favoritesTableView.backgroundView =
                    emptyBackgroundText(noUserMsg);
            // if user logged in, tell them how to have favs:
            } else {
                favoritesTableView.backgroundView =
                    emptyBackgroundText(noFavoritesMsg);
            }
        }

        // update table view:
        favoritesTableView.reloadData();
    }

    /*  tableView -> int
            returns number of cells to display
    */
    override func tableView(
        tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return self.favoriteCells.count
    }


    /* tableView -> UITableViewCell
            creates cell for each index in favoriteCells
