GiselleSerate / suitelife

2017 Harvey Mudd Summer Startup Project: iOS App.
https://suite-life.org/
0 stars 0 forks source link

Index out of range on List/Pantry View Controller after signing out and back in #50

Closed cole-k closed 7 years ago

cole-k commented 7 years ago

The error is on Line 82 of InventoryTableViewController.swift, the line in question is a part of the method below

80    override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
81        // The number of rows is equal to the number of items.
82        return itemListPantryInstance.dict[type]![groupIDs[section]]!.count
83    }