From 482399b2621c3b2dd7790378844fc73a012c054c Mon Sep 17 00:00:00 2001 From: duwen Date: Fri, 2 Feb 2018 14:13:50 +0800 Subject: [PATCH] fix #24 --- README.md | 6 +++--- dsBridge.podspec | 2 +- dsbridge/DWebview.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7ff1078..80137b0 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ DSBridge-Android:https://github.com/wendux/DSBridge-Android ## Download ```objective-c -pod "dsBridge" +pod "dsBridge","2.0.6" ``` ## Usage @@ -51,9 +51,9 @@ pod "dsBridge" ```javascript //cdn - // + // //npm - //npm install dsbridge + //npm install dsbridge@2.0.0 var dsBridge=require("dsbridge") ``` diff --git a/dsBridge.podspec b/dsBridge.podspec index 2144212..80e1932 100644 --- a/dsBridge.podspec +++ b/dsBridge.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |s| # s.name = "dsBridge" - s.version = "2.0.5" + s.version = "2.0.6" 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. diff --git a/dsbridge/DWebview.h b/dsbridge/DWebview.h index 4b65846..8e179dd 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:(nullable NSURL *)baseURL; +- (void)loadHTMLString:(NSString *)string baseURL:(NSURL * _Nullable)baseURL; - (void)loadData:(NSData *)data MIMEType:(NSString *)MIMEType textEncodingName:(NSString *)textEncodingName baseURL:(NSURL *)baseURL; - (void)stopLoading;