TIMCommonMediator.h 511 B

123456789101112131415161718192021222324252627
  1. //
  2. // TIMCommonMediator.h
  3. // TUIEmojiPlugin
  4. //
  5. // Created by cologne on 2023/11/14.
  6. // Copyright © 2023 Tencent. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. NS_ASSUME_NONNULL_BEGIN
  10. @interface TIMCommonMediator : NSObject
  11. + (instancetype)share;
  12. /// Protocol : Class
  13. /// Register Protocol : Class
  14. - (void)registerService:(Protocol *)service class:(Class)cls;
  15. /// Protocol [Class new]
  16. /// get [class new] by Protocol
  17. - (id)getObject:(Protocol *)service;
  18. @end
  19. NS_ASSUME_NONNULL_END