FLEXObjectExplorerFactory.h 780 B

123456789101112131415161718192021222324252627
  1. //
  2. // FLEXObjectExplorerFactory.h
  3. // Flipboard
  4. //
  5. // Created by Ryan Olson on 5/15/14.
  6. // Copyright (c) 2014 Flipboard. All rights reserved.
  7. //
  8. #import "FLEXGlobalsEntry.h"
  9. #ifndef _FLEXObjectExplorerViewController_h
  10. #import "FLEXObjectExplorerViewController.h"
  11. #else
  12. @class FLEXObjectExplorerViewController;
  13. #endif
  14. @interface FLEXObjectExplorerFactory : NSObject <FLEXGlobalsEntry>
  15. + (FLEXObjectExplorerViewController *)explorerViewControllerForObject:(id)object;
  16. /// Register a specific explorer view controller class to be used when exploring
  17. /// an object of a specific class. Calls will overwrite existing registrations.
  18. /// Sections must be initialized using \c forObject: like
  19. + (void)registerExplorerSection:(Class)sectionClass forClass:(Class)objectClass;
  20. @end