From d65e1e4ede3f3f358a878c966fd44e1fd3917850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Augusto=20C=20Martins=20Jr?= Date: Fri, 24 Aug 2018 14:19:17 -0300 Subject: [PATCH] Allow objective-c classes to access gravityDismissAnimation and dismissWithBackgroundTouch --- Library/PMAlertController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/PMAlertController.swift b/Library/PMAlertController.swift index d778572..269e6d1 100755 --- a/Library/PMAlertController.swift +++ b/Library/PMAlertController.swift @@ -40,8 +40,8 @@ import UIKit open var textFields: [UITextField] = [] - open var gravityDismissAnimation = true - open var dismissWithBackgroudTouch = false // enable touch background to dismiss. Off by default. + @objc open var gravityDismissAnimation = true + @objc open var dismissWithBackgroudTouch = false // enable touch background to dismiss. Off by default. //MARK: - Lifecycle