// // ExampleSwiftFrameProcessor.m // VisionCameraExample // // Created by Mateusz Medrek on 02/10/2023. // #if __has_include() #import #import #import #import #import "VisionCameraExample-Swift.h" // Example for a Swift Frame Processor plugin automatic registration @interface ExampleSwiftFrameProcessorPlugin (FrameProcessorPluginLoader) @end @implementation ExampleSwiftFrameProcessorPlugin (FrameProcessorPluginLoader) + (void)load { [FrameProcessorPluginRegistry addFrameProcessorPlugin:@"example_kotlin_swift_plugin" withInitializer:^FrameProcessorPlugin * _Nonnull(NSDictionary * _Nullable options) { return [[ExampleSwiftFrameProcessorPlugin alloc] init]; }]; } @end #endif