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:
		| @@ -0,0 +1,47 @@ | ||||
| // | ||||
| //  PTMultiColumnTableView.h | ||||
| //  PTMultiColumnTableViewDemo | ||||
| // | ||||
| //  Created by Peng Tao on 15/11/16. | ||||
| //  Copyright © 2015年 Peng Tao. All rights reserved. | ||||
| // | ||||
|  | ||||
| #import <UIKit/UIKit.h> | ||||
| #import "FLEXTableColumnHeader.h" | ||||
|  | ||||
| @class FLEXMultiColumnTableView; | ||||
|  | ||||
| @protocol FLEXMultiColumnTableViewDelegate <NSObject> | ||||
|  | ||||
| @required | ||||
| - (void)multiColumnTableView:(FLEXMultiColumnTableView *)tableView didSelectRow:(NSInteger)row; | ||||
| - (void)multiColumnTableView:(FLEXMultiColumnTableView *)tableView didSelectHeaderForColumn:(NSInteger)column sortType:(FLEXTableColumnHeaderSortType)sortType; | ||||
|  | ||||
| @end | ||||
|  | ||||
| @protocol FLEXMultiColumnTableViewDataSource <NSObject> | ||||
|  | ||||
| @required | ||||
|  | ||||
| - (NSInteger)numberOfColumnsInTableView:(FLEXMultiColumnTableView *)tableView; | ||||
| - (NSInteger)numberOfRowsInTableView:(FLEXMultiColumnTableView *)tableView; | ||||
| - (NSString *)columnTitle:(NSInteger)column; | ||||
| - (NSString *)rowTitle:(NSInteger)row; | ||||
| - (NSArray<NSString *> *)contentForRow:(NSInteger)row; | ||||
|  | ||||
| - (CGFloat)multiColumnTableView:(FLEXMultiColumnTableView *)tableView minWidthForContentCellInColumn:(NSInteger)column; | ||||
| - (CGFloat)multiColumnTableView:(FLEXMultiColumnTableView *)tableView heightForContentCellInRow:(NSInteger)row; | ||||
| - (CGFloat)heightForTopHeaderInTableView:(FLEXMultiColumnTableView *)tableView; | ||||
| - (CGFloat)widthForLeftHeaderInTableView:(FLEXMultiColumnTableView *)tableView; | ||||
|  | ||||
| @end | ||||
|  | ||||
|  | ||||
| @interface FLEXMultiColumnTableView : UIView | ||||
|  | ||||
| @property (nonatomic, weak) id<FLEXMultiColumnTableViewDataSource> dataSource; | ||||
| @property (nonatomic, weak) id<FLEXMultiColumnTableViewDelegate> delegate; | ||||
|  | ||||
| - (void)reloadData; | ||||
|  | ||||
| @end | ||||
		Reference in New Issue
	
	Block a user
	 Balackburn
					Balackburn