feat: 自定义的插件
This commit is contained in:
30
Libs/MOBFoundation.framework/Headers/IMOBFPlugin.h
Executable file
30
Libs/MOBFoundation.framework/Headers/IMOBFPlugin.h
Executable file
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// IMOBFPlugin.h
|
||||
// MOBFoundation
|
||||
//
|
||||
// Created by fenghj on 15/6/2.
|
||||
// Copyright (c) 2015年 MOB. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
/**
|
||||
* 插件协议
|
||||
*/
|
||||
@protocol IMOBFPlugin <NSObject>
|
||||
|
||||
@required
|
||||
|
||||
/**
|
||||
* 插件加载时调用
|
||||
*
|
||||
* @param key 插件标识
|
||||
*/
|
||||
- (void)load:(NSString *)key;
|
||||
|
||||
/**
|
||||
* 插件卸载时调用
|
||||
*/
|
||||
- (void)unload;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user