File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
3
3
s . name = "SPAlert"
4
- s . version = "2.1.1 "
4
+ s . version = "2.1.2 "
5
5
s . summary = "Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets."
6
6
s . homepage = "https://github.com/IvanVorobei/SPAlert"
7
7
s . source = { :git => "https://github.com/IvanVorobei/SPAlert.git" , :tag => s . version }
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public enum SPAlert {
31
31
32
32
- parameter title: Main text in alert.
33
33
- parameter message: Subtitle in alert. Optional.
34
- - parameter preset: Default configure layout and icons.
34
+ - parameter preset: Сonfigureв preset with layout and icons.
35
35
*/
36
36
public static func present( title: String , message: String ? = nil , preset: SPAlertPreset ) {
37
37
let alertView = SPAlertView ( title: title, message: message, preset: preset)
@@ -43,7 +43,7 @@ public enum SPAlert {
43
43
44
44
- parameter title: Main text in alert.
45
45
- 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.
47
47
*/
48
48
public static func present( title: String , message: String ? = nil , image: UIImage ) {
49
49
let alertView = SPAlertView ( title: title, message: message, image: image)
You can’t perform that action at this time.
0 commit comments