You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
707 B

//
// BasePresenter.h
// MVPDemo3
//
// Created by mobao on 16/6/22.
// Copyright © 2016年 mobao. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "baseViewController.h"
#import "NetHeader.h"
typedef void (^BlockRefreshUIData) ();
typedef void (^BlockGoBack) ();
typedef void (^BlockPerformSegue) (NSString *identifier, id sender);
@interface BasePresenter : NSObject
@property (weak, nonatomic) id vc;
@property (nonatomic, strong) BlockRefreshUIData blockRefreshUIData;
@property (nonatomic, strong) BlockGoBack blockGoBack;
@property (nonatomic, strong) BlockPerformSegue blockPerformSegue;
- (instancetype)initWithViewController:(UIViewController*)vc;
- (void)initData;
@end