提交
This commit is contained in:
27
TUIKit/TIMCommon/CommonModel/TIMCommonMediator.h
Normal file
27
TUIKit/TIMCommon/CommonModel/TIMCommonMediator.h
Normal file
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// TIMCommonMediator.h
|
||||
// TUIEmojiPlugin
|
||||
//
|
||||
// Created by cologne on 2023/11/14.
|
||||
// Copyright © 2023 Tencent. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface TIMCommonMediator : NSObject
|
||||
|
||||
+ (instancetype)share;
|
||||
|
||||
/// Protocol : Class
|
||||
/// Register Protocol : Class
|
||||
- (void)registerService:(Protocol *)service class:(Class)cls;
|
||||
|
||||
/// Protocol [Class new]
|
||||
/// get [class new] by Protocol
|
||||
- (id)getObject:(Protocol *)service;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user