For example, today, 5/19, neither Driscoll nor Grab and Go were contained in the CSV file. If this happens they should be removed from the UIPickerView in Dining Halls.
The error with this is happening in the pickerDataSource variable. This is refreshed when you call self.refreshView(). But notice that this function doesn't get called afterwards.... this is strange.
For some reason, the pickerDataSource is only reloaded once - not that it should be reloaded more often, but in this case, it is being loaded with the incorrect set of labels.
Another bug that has come up with the pickerDataSource places an empty string at the top of the list.
Here is a testing file (from today) that you could use to verify this result.
daily-menu-5:19.csv.zip
In order to test this, you have to add functionality to MenuLoader so that it can read in a local CSV menu.
For example, today, 5/19, neither Driscoll nor Grab and Go were contained in the CSV file. If this happens they should be removed from the UIPickerView in
Dining Halls.The error with this is happening in the
pickerDataSourcevariable. This is refreshed when you callself.refreshView(). But notice that this function doesn't get called afterwards.... this is strange.For some reason, the
pickerDataSourceis only reloaded once - not that it should be reloaded more often, but in this case, it is being loaded with the incorrect set of labels.Another bug that has come up with the
pickerDataSourceplaces an empty string at the top of the list.Here is a testing file (from today) that you could use to verify this result.
daily-menu-5:19.csv.zip
In order to test this, you have to add functionality to
MenuLoaderso that it can read in a local CSV menu.