From f737ac63deeccb13c73c540caf2912ab8630218a Mon Sep 17 00:00:00 2001 From: Nick DiZazzo Date: Tue, 22 Oct 2019 18:50:24 -0400 Subject: [PATCH] Adds a feature to control dismissal via the outside tap gesture --- BottomPopup.podspec | 2 +- BottomPopup/Base.lproj/Main.storyboard | 32 ++++++++++++------- .../BottomPopupNavigationController.swift | 4 +++ .../BottomPopupPresentationController.swift | 5 ++- .../BottomPopupTransitionHandler.swift | 6 +++- .../BottomPopupUtils.swift | 2 ++ .../BottomPopupViewController.swift | 4 +++ BottomPopup/ExampleNavigationController.swift | 5 +++ BottomPopup/ExamplePopupViewController.swift | 5 +++ BottomPopup/ViewController.swift | 4 +++ 10 files changed, 55 insertions(+), 14 deletions(-) diff --git a/BottomPopup.podspec b/BottomPopup.podspec index 644f048..48064dc 100644 --- a/BottomPopup.podspec +++ b/BottomPopup.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "BottomPopup" - s.version = "0.5.0" + s.version = "0.6.0" s.summary = "BottomPopup provides a popup-like presentation style to any view controller" s.homepage = "https://github.com/ergunemr/BottomPopup" diff --git a/BottomPopup/Base.lproj/Main.storyboard b/BottomPopup/Base.lproj/Main.storyboard index 6060c6d..09eb002 100644 --- a/BottomPopup/Base.lproj/Main.storyboard +++ b/BottomPopup/Base.lproj/Main.storyboard @@ -1,11 +1,9 @@ - - - - + + - + @@ -33,7 +31,7 @@ - + @@ -141,6 +139,16 @@ + + + + +