add message exercises

This commit is contained in:
lianxiang
2018-08-23 18:09:15 +08:00
parent 3b8f57d02f
commit d43d7eaaf6
51 changed files with 1713 additions and 122 deletions
+17 -13
View File
@@ -8,22 +8,26 @@
#import <UIKit/UIKit.h>
@interface GiGaBaseViewController : UIViewController<UIGestureRecognizerDelegate,UINavigationControllerDelegate>
@interface GiGaBaseViewController : UIViewController<UITableViewDelegate,UITableViewDataSource>
{
UIView *emptyView;
UIView *_emptyView;
UIView *_noNetWorkView;
}
//- (void)setNavigationViewWithBGColor:(UIColor *)bgColor TitleColor:(UIColor *)titleColor;
//- (void)setNavigationViewHidden:(BOOL)hidden;
//- (void)addBackButtonWithImageName:(NSString *)imageName;
//- (void)setBackButtonHidden:(BOOL)hidden;
//- (void)setNavigationViewBottomLineHidden:(BOOL)hidden;
//
//- (void)addRightButtonWithBGImageName:(NSString *)rightImageName action:(SEL)rightAction;
//
//- (void)addRefreshHeaderFooterForTableView:(UITableView *)tableView
// refreshHeaderSelector:(SEL)refreshHeaderSelector
// refreshFooterSelector:(SEL)refreshFooterSelector;
@property (nonatomic,strong) UIView * emptyView;
@property (nonatomic,strong) UIView * noNetWorkView;
@property (nonatomic,strong) UITableView *tableView;
//网络改变回调Block,-1未知、0无网络、1蜂窝数据网络、2WiFi
@property (nonatomic, copy) void(^ network)(AFNetworkReachabilityStatus status);
//当前网络状态,-1未知、0无网络、1蜂窝数据网络、2WiFi
@property (nonatomic, assign) AFNetworkReachabilityStatus currentNetworkStatus;
- (void)showNoNetWorkView;
- (void)showEmptyView;
-(void)addNavTitile:(NSString *)title;
@end