mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-28 22:49:49 +00:00
15 lines
550 B
Objective-C
15 lines
550 B
Objective-C
#import "CwHavenPlugin.h"
|
|
#if __has_include(<cw_haven/cw_haven-Swift.h>)
|
|
#import <cw_haven/cw_haven-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 "cw_haven-Swift.h"
|
|
#endif
|
|
|
|
@implementation CwHavenPlugin
|
|
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
|
|
[SwiftCwHavenPlugin registerWithRegistrar:registrar];
|
|
}
|
|
@end
|