Skip to content

Commit 585da7c

Browse files
committed
Make dismiss public
1 parent d2ddcd5 commit 585da7c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SPAlert.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "SPAlert"
4-
s.version = "2.1"
4+
s.version = "2.1.1"
55
s.summary = "Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets."
66
s.homepage = "https://github.com/IvanVorobei/SPAlert"
77
s.source = { :git => "https://github.com/IvanVorobei/SPAlert.git", :tag => s.version }

Source/SPAlert/Views/SPAlertView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ open class SPAlertView: UIView {
206206
/**
207207
Use this method for force dismiss controller. By default it call automatically.
208208
*/
209-
@objc func dismiss() {
209+
@objc public func dismiss() {
210210
UIView.animate(withDuration: 0.2, animations: {
211211
self.alpha = 0
212212
self.transform = self.transform.scaledBy(x: 0.8, y: 0.8)

0 commit comments

Comments
 (0)