BaseViewController.h 1.03 KB
Newer Older
曹云霄's avatar
曹云霄 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//
//  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等待视图
 */
24
- (void)CreateMBProgressHUDLoding;
曹云霄's avatar
曹云霄 committed
25 26 27 28

/**
 *  移除MBProgressHUD等待视图
 */
29
- (void)RemoveMBProgressHUDLoding;
曹云霄's avatar
曹云霄 committed
30 31 32 33 34 35

/**
 *  渐隐提示框待回调Block
 */
- (void)SHOWPrompttext:(NSString *)Text ComcpleteBlock:(void(^)())completed;

曹云霄's avatar
曹云霄 committed
36 37 38 39 40 41 42 43 44 45 46 47 48 49
/**
 *  获得我的storyboard对象
 */
- (UIStoryboard *)getStoryboardWithName;



/**
 *  调用打印机
 */
- (void)callAirprintWithdata:(NSData *)PDFdata;



50 51 52 53
/**
 *  成功等待视图
 */
- (void)SuccessMBProgressView:(NSString *)successString;
曹云霄's avatar
曹云霄 committed
54

55 56 57 58
/**
 *  失败等待视图
 */
- (void)ErrorMBProgressView:(NSString *)errorString;
曹云霄's avatar
曹云霄 committed
59 60


勾芒's avatar
勾芒 committed
61 62 63 64
/**
 *  纯文本提示框
 */
- (void)SHOWPrompttext:(NSString *)Text;
曹云霄's avatar
曹云霄 committed
65 66 67 68




曹云霄's avatar
曹云霄 committed
69 70

@end