- #import "NativeVisionPlugin.h"
- #if __has_include(<native_vision/native_vision-Swift.h>)
- #import <native_vision/native_vision-Swift.h>
- #else
- // Support project import fallback if the generated compatibility header
- // is not copied when this plugin is created as a library.
- // https://forums.swift.org/t/swift-static-libraries-dont-copy-generated-objective-c-header/19816
- #import "native_vision-Swift.h"
- #endif
- @implementation NativeVisionPlugin
- + (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
- [SwiftNativeVisionPlugin registerWithRegistrar:registrar];
- }
- @end
|