FLEXMetadataSection.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // FLEXMetadataSection.h
  3. // FLEX
  4. //
  5. // Created by Tanner Bennett on 9/19/19.
  6. // Copyright © 2019 Flipboard. All rights reserved.
  7. //
  8. #import "FLEXExplorerSection.h"
  9. #import "FLEXObjectExplorer.h"
  10. #warning Missing ClassProperties
  11. typedef NS_ENUM(NSUInteger, FLEXMetadataKind) {
  12. FLEXMetadataKindProperties = 1,
  13. FLEXMetadataKindIvars,
  14. FLEXMetadataKindMethods,
  15. FLEXMetadataKindClassMethods
  16. };
  17. /// This section is used for displaying ObjC runtime metadata
  18. /// about a class or object, such as listing methods, properties, etc.
  19. @interface FLEXMetadataSection : FLEXExplorerSection
  20. + (instancetype)explorer:(FLEXObjectExplorer *)explorer kind:(FLEXMetadataKind)metadataKind;
  21. @property (nonatomic, readonly) FLEXMetadataKind metadataKind;
  22. /// The names of metadata to exclude. Useful if you wish to group specific
  23. /// properties or methods together in their own section outside of this one.
  24. ///
  25. /// Setting this property calls \c reloadData on this section.
  26. @property (nonatomic) NSSet<NSString *> *excludedMetadata;
  27. @end