mirror of
https://github.com/kphanipavan/modal_progress_hud_nsn.git
synced 2025-10-29 06:42:50 -07:00
Initial Commit
This commit is contained in:
15
ios/Classes/ModalProgressHudNsnPlugin.m
Normal file
15
ios/Classes/ModalProgressHudNsnPlugin.m
Normal file
@@ -0,0 +1,15 @@
|
||||
#import "ModalProgressHudNsnPlugin.h"
|
||||
#if __has_include(<modal_progress_hud_nsn/modal_progress_hud_nsn-Swift.h>)
|
||||
#import <modal_progress_hud_nsn/modal_progress_hud_nsn-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 "modal_progress_hud_nsn-Swift.h"
|
||||
#endif
|
||||
|
||||
@implementation ModalProgressHudNsnPlugin
|
||||
+ (void)registerWithRegistrar:(NSObject<FlutterPluginRegistrar>*)registrar {
|
||||
[SwiftModalProgressHudNsnPlugin registerWithRegistrar:registrar];
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user