Skip to content

Commit 32c7d8a

Browse files
committed
Update to 2.1.2
1 parent be862c7 commit 32c7d8a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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.1"
4+
s.version = "2.1.2"
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/SPAlert.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public enum SPAlert {
3131

3232
- parameter title: Main text in alert.
3333
- parameter message: Subtitle in alert. Optional.
34-
- parameter preset: Default configure layout and icons.
34+
- parameter preset: Сonfigureв preset with layout and icons.
3535
*/
3636
public static func present(title: String, message: String? = nil, preset: SPAlertPreset) {
3737
let alertView = SPAlertView(title: title, message: message, preset: preset)
@@ -43,7 +43,7 @@ public enum SPAlert {
4343

4444
- parameter title: Main text in alert.
4545
- parameter message: Subtitle in alert. Optional.
46-
- parameter image: Custom `UIImage` for alert.
46+
- parameter image: Custom `UIImage` for alert. No need recize it before.
4747
*/
4848
public static func present(title: String, message: String? = nil, image: UIImage) {
4949
let alertView = SPAlertView(title: title, message: message, image: image)

0 commit comments

Comments
 (0)