// // BaseViewController.h // Lighting // // Created by 曹云霄 on 16/4/27. // Copyright © 2016年 上海勾芒科技有限公司. All rights reserved. // #import <UIKit/UIKit.h> @interface BaseViewController : UIViewController /** * 结束刷新 * * @param TableView Tableview */ - (void)endRefreshingForTableView:(UIScrollView *)TableView; /** * MBProgressHUD等待视图 */ - (void)CreateMBProgressHUDLoding; /** * 移除MBProgressHUD等待视图 */ - (void)RemoveMBProgressHUDLoding; /** * 渐隐提示框待回调Block */ - (void)SHOWPrompttext:(NSString *)Text ComcpleteBlock:(void(^)())completed; /** * 获得我的storyboard对象 */ - (UIStoryboard *)getStoryboardWithName; /** * 调用打印机 */ - (void)callAirprintWithdata:(NSString *)PDFpath SuccessBlock:(void(^)())success ErrorBlock:(void(^)())failed; /** * 成功等待视图 */ - (void)SuccessMBProgressView:(NSString *)successString; /** * 失败等待视图 */ - (void)ErrorMBProgressView:(NSString *)errorString; /** * 纯文本提示框 */ - (void)SHOWPrompttext:(NSString *)Text; /** * 调用无线打印机......成功回调、失败回调 */ - (void)callAirprintWithURL:(NSURL *)datasurl SuccessBlock:(void(^)())success ErrorBlock:(void(^)())failed; /** * 提示图片、文本 */ - (void)PromptinformationViewWithimage:(UIImage *)image withTitle:(NSString *)title withFrame:(CGRect)frame; @end