feat: 自定义的插件
This commit is contained in:
33
Libs/MOBFoundation.framework/Headers/MOBFViewController.h
Executable file
33
Libs/MOBFoundation.framework/Headers/MOBFViewController.h
Executable file
@@ -0,0 +1,33 @@
|
||||
//
|
||||
// MOBFViewControllerUtils.h
|
||||
// MOBFoundation
|
||||
//
|
||||
// Created by vimfung on 15-1-19.
|
||||
// Copyright (c) 2015年 MOB. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
/**
|
||||
* 视图控制器工具类
|
||||
*/
|
||||
@interface MOBFViewController : NSObject
|
||||
|
||||
/**
|
||||
* 获取当前视图控制器
|
||||
*
|
||||
* @return 视图控制器
|
||||
*/
|
||||
+ (UIViewController *)currentViewController;
|
||||
|
||||
/**
|
||||
* 获取当前视图控制器
|
||||
*
|
||||
* @param window 窗口
|
||||
*
|
||||
* @return 视图控制器
|
||||
*/
|
||||
+ (UIViewController *)currentViewControllerFromWindow:(UIWindow *)window;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user