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 }
The error is on Line 82 of
InventoryTableViewController.swift
, the line in question is a part of the method below