mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-31 04:44:14 -04:00 
			
		
		
		
	added files via upload
This commit is contained in:
		
							
								
								
									
										28
									
								
								Tweaks/FLEX/Core/FLEXSingleRowSection.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								Tweaks/FLEX/Core/FLEXSingleRowSection.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| // | ||||
| //  FLEXSingleRowSection.h | ||||
| //  FLEX | ||||
| // | ||||
| //  Created by Tanner Bennett on 9/25/19. | ||||
| //  Copyright © 2020 FLEX Team. All rights reserved. | ||||
| // | ||||
|  | ||||
| #import "FLEXTableViewSection.h" | ||||
|  | ||||
| /// A section providing a specific single row. | ||||
| /// | ||||
| /// You may optionally provide a view controller to push when the row | ||||
| /// is selected, or an action to perform when it is selected. | ||||
| /// Which one is used first is up to the table view data source. | ||||
| @interface FLEXSingleRowSection : FLEXTableViewSection | ||||
|  | ||||
| /// @param reuseIdentifier if nil, kFLEXDefaultCell is used. | ||||
| + (instancetype)title:(NSString *)sectionTitle | ||||
|                 reuse:(NSString *)reuseIdentifier | ||||
|                  cell:(void(^)(__kindof UITableViewCell *cell))cellConfiguration; | ||||
|  | ||||
| @property (nonatomic) UIViewController *pushOnSelection; | ||||
| @property (nonatomic) void (^selectionAction)(UIViewController *host); | ||||
| /// Called to determine whether the single row should display itself or not. | ||||
| @property (nonatomic) BOOL (^filterMatcher)(NSString *filterText); | ||||
|  | ||||
| @end | ||||
		Reference in New Issue
	
	Block a user
	 Balackburn
					Balackburn