// // RefreshTableView.h // MicroVideo // // Created by Hepburn Alex on 12-11-23. // Copyright (c) 2012年 wei. All rights reserved. // #import #import "LoadMoreView.h" #import "RefreshTableHeaderView.h" @class RefreshTableView; @protocol RefreshTableViewDelegate @optional - (void)LoadMoreList:(RefreshTableView *)sender; - (void)ReloadList:(RefreshTableView *)sender; - (BOOL)CanRefreshTableView:(RefreshTableView *)sender; @end @interface RefreshTableView : UIView { } @property (nonatomic, weak) id delegate; @property (nonatomic, assign) BOOL mbMoreHidden; @property (nonatomic, assign) BOOL mbRefreshHidden; @property (nonatomic, assign) int miBotOffset; @property (nonatomic, assign) UITableViewCellSeparatorStyle separatorStyle; @property (nonatomic, assign) UIColor *separatorColor; @property (readonly) CGSize contentSize; @property (nonatomic, assign) CGPoint contentOffset; @property(nonatomic,strong) UITableView *mTableView; @property(nonatomic,strong) LoadMoreView *mLoadMore; @property(nonatomic,strong) RefreshTableHeaderView *mRefreshHeader; - (void)FinishLoading; - (void)reloadData; - (BOOL)CanRefresh; @end