From 19170df35467d0d39a2985251648beb16c117d84 Mon Sep 17 00:00:00 2001 From: "kof.kofktu" Date: Fri, 8 Sep 2017 19:11:54 +0900 Subject: [PATCH 1/2] modify call to configuration closure --- WKCookieWebView/WKCookieWebView/WKCookieWebView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WKCookieWebView/WKCookieWebView/WKCookieWebView.swift b/WKCookieWebView/WKCookieWebView/WKCookieWebView.swift index dff54a4..959c09c 100644 --- a/WKCookieWebView/WKCookieWebView/WKCookieWebView.swift +++ b/WKCookieWebView/WKCookieWebView/WKCookieWebView.swift @@ -32,10 +32,10 @@ open class WKCookieWebView: WKWebView { public init(frame: CGRect, configurationBlock: ((WKWebViewConfiguration) -> Void)? = nil) { HTTPCookieStorage.shared.cookieAcceptPolicy = .always let configuration = WKWebViewConfiguration() - super.init(frame: frame, configuration: configuration) configuration.processPool = WKCookieProcessPool.pool - configuration.userContentController = userContentWithCookies() configurationBlock?(configuration) + super.init(frame: frame, configuration: configuration) + configuration.userContentController = userContentWithCookies() navigationDelegate = self } From b8c5312eee7c54823fa00502cae60152991a5195 Mon Sep 17 00:00:00 2001 From: "kof.kofktu" Date: Fri, 8 Sep 2017 19:12:47 +0900 Subject: [PATCH 2/2] 0.0.2 Release --- WKCookieWebView.podspec | 2 +- WKCookieWebView/WKCookieWebView/Info.plist | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WKCookieWebView.podspec b/WKCookieWebView.podspec index ef55993..6013916 100644 --- a/WKCookieWebView.podspec +++ b/WKCookieWebView.podspec @@ -16,7 +16,7 @@ Pod::Spec.new do |s| # s.name = "WKCookieWebView" - s.version = "0.0.1" + s.version = "0.0.2" s.summary = "WKCookieWebView" # This description is used to generate tags and improve search results. diff --git a/WKCookieWebView/WKCookieWebView/Info.plist b/WKCookieWebView/WKCookieWebView/Info.plist index 259d58e..c86f7b3 100644 --- a/WKCookieWebView/WKCookieWebView/Info.plist +++ b/WKCookieWebView/WKCookieWebView/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType FMWK CFBundleShortVersionString - 0.0.1 + 0.0.2 CFBundleVersion $(CURRENT_PROJECT_VERSION) NSPrincipalClass