added a flag to inspect the current state of a refetch

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

No files matched your search

@@ -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?) {