added a flag to inspect the current state of a refetch

This commit is contained in:
John Estropia
2015-09-08 18:12:52 +09:00
parent 399517e357
commit 6a006d5d7c
2 changed files with 17 additions and 1 deletions

View File

@@ -109,6 +109,8 @@ class ListObserverDemoViewController: UITableViewController, ListSectionObserver
self.filterBarButton = filterBarButton
Static.palettes.addObserver(self)
self.setTableEnabled(!Static.palettes.isPendingRefetch)
}
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {