// // BasePresenter.h // MVPDemo3 // // Created by mobao on 16/6/22. // Copyright © 2016年 mobao. All rights reserved. // #import #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