feat: 自定义的插件

This commit is contained in:
zoujing
2023-04-10 18:48:16 +08:00
commit e1795f2de2
621 changed files with 18614 additions and 0 deletions

View 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