diff --git a/Build/Products/Debug-iphonesimulator/libdsbridge.a b/Build/Products/Debug-iphonesimulator/libdsbridge.a index 8dff2b8..93b0950 100644 Binary files a/Build/Products/Debug-iphonesimulator/libdsbridge.a and b/Build/Products/Debug-iphonesimulator/libdsbridge.a differ diff --git a/dsBridge.podspec b/dsBridge.podspec index 9d2b7fe..2144212 100644 --- a/dsBridge.podspec +++ b/dsBridge.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |s| # s.name = "dsBridge" - s.version = "2.0.4" + s.version = "2.0.5" s.summary = "An ios bridge for calling functions synchronously and asynchronously between JavaScript and Object-C in WKWebView/UIWebView" # This description is used to generate tags and improve search results. @@ -117,7 +117,7 @@ Pod::Spec.new do |s| # the lib prefix of their name. # - s.framework = "UIKit","JavaScriptCore" + s.frameworks = "UIKit","JavaScriptCore" # s.frameworks = "SomeFramework", "AnotherFramework" # s.library = "iconv" @@ -136,3 +136,5 @@ Pod::Spec.new do |s| # s.dependency "JSONKit", "~> 1.4" end + + diff --git a/dsbridge/DWebview.h b/dsbridge/DWebview.h index f64bbf4..4b65846 100644 --- a/dsbridge/DWebview.h +++ b/dsbridge/DWebview.h @@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN - (void)loadUrl: (NSString *) url; - (void)loadRequest:(NSURLRequest * )request; -- (void)loadHTMLString:(NSString *)string baseURL:(NSURL *)baseURL; +- (void)loadHTMLString:(NSString *)string baseURL:(nullable NSURL *)baseURL; - (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)textEncodingName baseURL:(NSURL *)baseURL; - (void)stopLoading;