fix: Fix +load
not available in Xcode 15 error (#1908)
This commit is contained in:
parent
24f77fb224
commit
1cdc3d1d9c
@ -19,9 +19,9 @@
|
|||||||
|
|
||||||
@implementation ExampleSwiftFrameProcessorPlugin (FrameProcessorPluginLoader)
|
@implementation ExampleSwiftFrameProcessorPlugin (FrameProcessorPluginLoader)
|
||||||
|
|
||||||
+ (void)load
|
+ (void)initialize {
|
||||||
{
|
[FrameProcessorPluginRegistry addFrameProcessorPlugin:@"example_kotlin_swift_plugin"
|
||||||
[FrameProcessorPluginRegistry addFrameProcessorPlugin:@"example_kotlin_swift_plugin" withInitializer:^FrameProcessorPlugin * _Nonnull(NSDictionary * _Nullable options) {
|
withInitializer:^FrameProcessorPlugin* _Nonnull(NSDictionary* _Nullable options) {
|
||||||
return [[ExampleSwiftFrameProcessorPlugin alloc] init];
|
return [[ExampleSwiftFrameProcessorPlugin alloc] init];
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user