mirror of
https://github.com/kphanipavan/modal_progress_hud_nsn.git
synced 2025-10-29 14:52:49 -07:00
Test update to 0.4.0
This commit is contained in:
1
ios/.gitignore
vendored
1
ios/.gitignore
vendored
@@ -34,4 +34,5 @@ Icon?
|
||||
.tags*
|
||||
|
||||
/Flutter/Generated.xcconfig
|
||||
/Flutter/ephemeral/
|
||||
/Flutter/flutter_export_environment.sh
|
||||
@@ -1,4 +0,0 @@
|
||||
#import <Flutter/Flutter.h>
|
||||
|
||||
@interface ModalProgressHudNsnPlugin : NSObject<FlutterPlugin>
|
||||
@end
|
||||
@@ -1,15 +0,0 @@
|
||||
#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
|
||||
@@ -1,10 +1,10 @@
|
||||
import Flutter
|
||||
import UIKit
|
||||
|
||||
public class SwiftModalProgressHudNsnPlugin: NSObject, FlutterPlugin {
|
||||
public class ModalProgressHudNsnPlugin: NSObject, FlutterPlugin {
|
||||
public static func register(with registrar: FlutterPluginRegistrar) {
|
||||
let channel = FlutterMethodChannel(name: "modal_progress_hud_nsn", binaryMessenger: registrar.messenger())
|
||||
let instance = SwiftModalProgressHudNsnPlugin()
|
||||
let instance = ModalProgressHudNsnPlugin()
|
||||
registrar.addMethodCallDelegate(instance, channel: channel)
|
||||
}
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'modal_progress_hud_nsn'
|
||||
s.version = '0.0.1'
|
||||
s.summary = 'A new flutter plugin project.'
|
||||
s.summary = 'A new Flutter plugin project.'
|
||||
s.description = <<-DESC
|
||||
A new flutter plugin project.
|
||||
A new Flutter plugin project.
|
||||
DESC
|
||||
s.homepage = 'http://example.com'
|
||||
s.license = { :file => '../LICENSE' }
|
||||
@@ -15,7 +15,7 @@ A new flutter plugin project.
|
||||
s.source = { :path => '.' }
|
||||
s.source_files = 'Classes/**/*'
|
||||
s.dependency 'Flutter'
|
||||
s.platform = :ios, '8.0'
|
||||
s.platform = :ios, '9.0'
|
||||
|
||||
# Flutter.framework does not contain a i386 slice.
|
||||
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386' }
|
||||
|
||||
Reference in New Issue
Block a user