From e34f0886af2d6bb553d54ce9a0470d1dfe065a66 Mon Sep 17 00:00:00 2001 From: corin8823 Date: Sat, 4 Mar 2017 17:04:38 +0900 Subject: [PATCH 1/2] Fix warning --- Pod/Classes/PopupCollectonViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pod/Classes/PopupCollectonViewController.swift b/Pod/Classes/PopupCollectonViewController.swift index c4e2584..9c170f9 100644 --- a/Pod/Classes/PopupCollectonViewController.swift +++ b/Pod/Classes/PopupCollectonViewController.swift @@ -127,7 +127,7 @@ open class PopupCollectionViewController: UIViewController { } open func dismiss(completion: (() -> Void)?) { - let animation = self.animation ?? .slideUp + let animation = self.animation self.hide(animation) { self.didClosePopupView() completion?() From 58b331fd85188ef3b71dd9748d24ea8fafb0fa37 Mon Sep 17 00:00:00 2001 From: corin8823 Date: Sat, 4 Mar 2017 17:05:18 +0900 Subject: [PATCH 2/2] Update .podspec --- Example/Podfile.lock | 4 ++-- PopupCollectionViewController.podspec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Example/Podfile.lock b/Example/Podfile.lock index 0689456..edd5a22 100644 --- a/Example/Podfile.lock +++ b/Example/Podfile.lock @@ -1,5 +1,5 @@ PODS: - - PopupCollectionViewController (0.2.0) + - PopupCollectionViewController (0.2.1) DEPENDENCIES: - PopupCollectionViewController (from `../`) @@ -9,7 +9,7 @@ EXTERNAL SOURCES: :path: "../" SPEC CHECKSUMS: - PopupCollectionViewController: 90a0bf47d42eab2d06a1314252fa554a5576adfc + PopupCollectionViewController: c8861cc595700cd9a27e320c6a8cdd42821316c9 PODFILE CHECKSUM: 149b607a76921de4dcb0280083a71f596b312fd0 diff --git a/PopupCollectionViewController.podspec b/PopupCollectionViewController.podspec index 808a4ab..a08503e 100644 --- a/PopupCollectionViewController.podspec +++ b/PopupCollectionViewController.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "PopupCollectionViewController" - s.version = "0.2.0" + s.version = "0.2.1" s.summary = "PopupCollectionViewController is a collectionView in Popup view" s.homepage = "https://github.com/corin8823/PopupCollectionViewController" # s.screenshots = "https://github.com/corin8823/PopupCollectionViewController/blob/master/ScreenShots/Screenshot.gif"