mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-30 12:23:58 -04:00 
			
		
		
		
	added files via upload
This commit is contained in:
		| @@ -0,0 +1,36 @@ | ||||
| // | ||||
| //  PTTableContentViewController.h | ||||
| //  PTDatabaseReader | ||||
| // | ||||
| //  Created by Peng Tao on 15/11/23. | ||||
| //  Copyright © 2015年 Peng Tao. All rights reserved. | ||||
| // | ||||
|  | ||||
| #import <UIKit/UIKit.h> | ||||
| #import "FLEXDatabaseManager.h" | ||||
|  | ||||
| NS_ASSUME_NONNULL_BEGIN | ||||
|  | ||||
| @interface FLEXTableContentViewController : UIViewController | ||||
|  | ||||
| /// Display a mutable table with the given columns, rows, and name. | ||||
| /// | ||||
| /// @param columnNames self explanatory. | ||||
| /// @param rowData an array of rows, where each row is an array of column data. | ||||
| /// @param rowIDs an array of stringy row IDs. Required for deleting rows. | ||||
| /// @param tableName an optional name of the table being viewed, if any. Enables adding rows. | ||||
| /// @param databaseManager an optional manager to allow modifying the table. | ||||
| ///        Required for deleting rows. Required for adding rows if \c tableName is supplied. | ||||
| + (instancetype)columns:(NSArray<NSString *> *)columnNames | ||||
|                    rows:(NSArray<NSArray<NSString *> *> *)rowData | ||||
|                  rowIDs:(NSArray<NSString *> *)rowIDs | ||||
|               tableName:(NSString *)tableName | ||||
|                database:(id<FLEXDatabaseManager>)databaseManager; | ||||
|  | ||||
| /// Display an immutable table with the given columns and rows. | ||||
| + (instancetype)columns:(NSArray<NSString *> *)columnNames | ||||
|                    rows:(NSArray<NSArray<NSString *> *> *)rowData; | ||||
|  | ||||
| @end | ||||
|  | ||||
| NS_ASSUME_NONNULL_END | ||||
		Reference in New Issue
	
	Block a user
	 Balackburn
					Balackburn