MyTable.h
上传用户:xy800802
上传日期:2020-12-29
资源大小:194k
文件大小:1k
- #import <UIKit/UIKit.h>
- #import <UIKit/UITable.h>
- #import <UIKit/UISimpleTableCell.h>
- #import <UIKit/UIImageAndTextTableCell.h>
- #import <UIKit/UITableColumn.h>
- #import <UIKit/UIImage.h>
- #import <GraphicsServices/GraphicsServices.h>
- #import "Util.h"
- @interface MyTable : UITable
- {
- UIView *mainView;
- NSString *path;
- NSString *extension;
- NSMutableArray *fileList;
- UITableColumn *colFilename;
- UITableColumn *colType;
- }
- -(id)initWithFrame : (struct CGRect)rect;
- -(void)dealloc;
- -(int)numberOfRowsInTable:(UITable *)_table;
- -(UITableCell *)table:(UITable *)table
- cellForRow:(int)row
- column:(UITableColumn *)col;
- -(void)_willDeleteRow:(int)row
- forTableCell:(id)cell
- viaEdge:(int)edge
- animateOthers:(BOOL)animate;
- -(int)swipe:(int)type
- withEvent:(struct __GSEvent *)event;
- -(void)tableRowSelected:(NSNotification *)notification;
- -(void)setPath:(NSString *)_path;
- -(void)setView:(UIView *)_mainView;
- -(void)setExtension:(NSString *)_extension;
- -(void)reloadData;
- @end