GT2/Ejectable/node_modules/@unimodules/react-native-adapter/ios/UMReactNativeAdapter/UMModuleRegistryAdapter/UMViewManagerAdapterClasses...

16 lines
521 B
C
Raw Normal View History

2021-08-16 00:14:59 +00:00
// Copyright 2018-present 650 Industries. All rights reserved.
#import <React/RCTViewManager.h>
#import <UMCore/UMViewManager.h>
// A registry for view manager adapter classes.
// As we have to create subclasses of UMViewManagerAdapters
// at runtime to be able to respond with proper + (NSString *)moduleName
// to React, let's cache these classes and not create them twice.
@interface UMViewManagerAdapterClassesRegistry : NSObject
- (Class)viewManagerAdapterClassForViewManager:(UMViewManager *)viewManager;
@end