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,38 @@ | ||||
| // | ||||
| //  FLEXTableContentHeaderCell.h | ||||
| //  FLEX | ||||
| // | ||||
| //  Created by Peng Tao on 15/11/26. | ||||
| //  Copyright © 2015年 f. All rights reserved. | ||||
| // | ||||
|  | ||||
| #import <UIKit/UIKit.h> | ||||
|  | ||||
| typedef NS_ENUM(NSUInteger, FLEXTableColumnHeaderSortType) { | ||||
|     FLEXTableColumnHeaderSortTypeNone = 0, | ||||
|     FLEXTableColumnHeaderSortTypeAsc, | ||||
|     FLEXTableColumnHeaderSortTypeDesc, | ||||
| }; | ||||
|  | ||||
| NS_INLINE FLEXTableColumnHeaderSortType FLEXNextTableColumnHeaderSortType( | ||||
|     FLEXTableColumnHeaderSortType current) { | ||||
|     switch (current) { | ||||
|         case FLEXTableColumnHeaderSortTypeAsc: | ||||
|             return FLEXTableColumnHeaderSortTypeDesc; | ||||
|         case FLEXTableColumnHeaderSortTypeNone: | ||||
|         case FLEXTableColumnHeaderSortTypeDesc: | ||||
|             return FLEXTableColumnHeaderSortTypeAsc; | ||||
|     } | ||||
|      | ||||
|     return FLEXTableColumnHeaderSortTypeNone; | ||||
| } | ||||
|  | ||||
| @interface FLEXTableColumnHeader : UIView | ||||
|  | ||||
| @property (nonatomic) NSInteger index; | ||||
| @property (nonatomic, readonly) UILabel *titleLabel; | ||||
|  | ||||
| @property (nonatomic) FLEXTableColumnHeaderSortType sortType; | ||||
|  | ||||
| @end | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Balackburn
					Balackburn