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

16 lines
521 B
Objective-C

// 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