mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-31 12:54:14 -04:00 
			
		
		
		
	added files via upload
This commit is contained in:
		
							
								
								
									
										37
									
								
								Tweaks/FLEX/ObjectExplorers/Sections/FLEXMetadataSection.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								Tweaks/FLEX/ObjectExplorers/Sections/FLEXMetadataSection.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,37 @@ | ||||
| // | ||||
| //  FLEXMetadataSection.h | ||||
| //  FLEX | ||||
| // | ||||
| //  Created by Tanner Bennett on 9/19/19. | ||||
| //  Copyright © 2020 FLEX Team. All rights reserved. | ||||
| // | ||||
|  | ||||
| #import "FLEXTableViewSection.h" | ||||
| #import "FLEXObjectExplorer.h" | ||||
|  | ||||
| typedef NS_ENUM(NSUInteger, FLEXMetadataKind) { | ||||
|     FLEXMetadataKindProperties = 1, | ||||
|     FLEXMetadataKindClassProperties, | ||||
|     FLEXMetadataKindIvars, | ||||
|     FLEXMetadataKindMethods, | ||||
|     FLEXMetadataKindClassMethods, | ||||
|     FLEXMetadataKindClassHierarchy, | ||||
|     FLEXMetadataKindProtocols, | ||||
|     FLEXMetadataKindOther | ||||
| }; | ||||
|  | ||||
| /// This section is used for displaying ObjC runtime metadata | ||||
| /// about a class or object, such as listing methods, properties, etc. | ||||
| @interface FLEXMetadataSection : FLEXTableViewSection | ||||
|  | ||||
| + (instancetype)explorer:(FLEXObjectExplorer *)explorer kind:(FLEXMetadataKind)metadataKind; | ||||
|  | ||||
| @property (nonatomic, readonly) FLEXMetadataKind metadataKind; | ||||
|  | ||||
| /// The names of metadata to exclude. Useful if you wish to group specific | ||||
| /// properties or methods together in their own section outside of this one. | ||||
| /// | ||||
| /// Setting this property calls \c reloadData on this section. | ||||
| @property (nonatomic) NSSet<NSString *> *excludedMetadata; | ||||
|  | ||||
| @end | ||||
		Reference in New Issue
	
	Block a user
	 Balackburn
					Balackburn