FLEXGlobalsTableViewController.h 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. //
  2. // FLEXGlobalsTableViewController.h
  3. // Flipboard
  4. //
  5. // Created by Ryan Olson on 2014-05-03.
  6. // Copyright (c) 2014 Flipboard. All rights reserved.
  7. //
  8. #import "FLEXTableViewController.h"
  9. @protocol FLEXGlobalsTableViewControllerDelegate;
  10. typedef NS_ENUM(NSUInteger, FLEXGlobalsSectionKind) {
  11. /// NSProcessInfo, Network history, system log,
  12. /// heap, address explorer, libraries, app classes
  13. FLEXGlobalsSectionProcessAndEvents,
  14. /// Browse container, browse bundle, NSBundle.main,
  15. /// NSUserDefaults.standard, UIApplication,
  16. /// app delegate, key window, root VC, cookies
  17. FLEXGlobalsSectionAppShortcuts,
  18. /// UIPasteBoard.general, UIScreen, UIDevice
  19. FLEXGlobalsSectionMisc,
  20. FLEXGlobalsSectionCustom,
  21. FLEXGlobalsSectionCount
  22. };
  23. @interface FLEXGlobalsTableViewController : FLEXTableViewController
  24. /// We pretend that one of the app's windows is still the key window, even though the explorer window may have become key.
  25. /// We want to display debug state about the application, not about this tool.
  26. + (void)setApplicationWindow:(UIWindow *)applicationWindow;
  27. @end