File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Expand file tree Collapse file tree 6 files changed +13
-13
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 = '3.0.5 '
4
+ s . version = '3.0.6 '
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 . license = { :type => "MIT" , :file => "LICENSE" }
Original file line number Diff line number Diff line change 22
22
import UIKit
23
23
24
24
/**
25
- Protocol for animatable views.
25
+ SPAlert: Protocol for animatable views.
26
26
*/
27
27
public protocol SPAlertIconAnimatable {
28
28
29
29
/**
30
- Shoud call when need start animation.
30
+ SPAlert: Shoud call when need start animation.
31
31
*/
32
32
func animate( )
33
33
}
Original file line number Diff line number Diff line change 22
22
import UIKit
23
23
24
24
/**
25
- Layout model for alert view.
25
+ SPAlert: Layout model for alert view.
26
26
*/
27
27
open class SPAlertLayout {
28
28
29
29
/**
30
- Icon size.
30
+ SPAlert: Icon size.
31
31
*/
32
32
open var iconSize : CGSize
33
33
34
34
/**
35
- Alert margings for each side.
35
+ SPAlert: Alert margings for each side.
36
36
*/
37
37
open var margins : UIEdgeInsets
38
38
39
39
/**
40
- Space between icon and title if both available.
40
+ SPAlert: Space between icon and title if both available.
41
41
*/
42
42
open var spaceBetweenIconAndTitle : CGFloat
43
43
Original file line number Diff line number Diff line change 22
22
import UIKit
23
23
24
24
/**
25
- Acess level. Here you get ready-use methods.
25
+ SPAlert: Acess level. Here you get ready-use methods.
26
26
Recomended use it.
27
27
*/
28
28
public enum SPAlert {
29
29
30
30
/**
31
- Present alert with preset and custom haptic.
31
+ SPAlert: Present alert with preset and custom haptic.
32
32
33
33
- parameter title: Title text in alert.
34
34
- parameter message: Subtitle text in alert. Optional.
@@ -42,7 +42,7 @@ public enum SPAlert {
42
42
}
43
43
44
44
/**
45
- Present alert with preset and automatically detect type haptic.
45
+ SPAlert: Present alert with preset and automatically detect type haptic.
46
46
47
47
- parameter title: Title text in alert.
48
48
- parameter message: Subtitle text in alert. Optional.
@@ -56,7 +56,7 @@ public enum SPAlert {
56
56
}
57
57
58
58
/**
59
- Show only message, without title and icon.
59
+ SPAlert: Show only message, without title and icon.
60
60
61
61
- parameter message: Title text.
62
62
- parameter haptic: Haptic response with present. Default is `.success`.
Original file line number Diff line number Diff line change 22
22
import UIKit
23
23
24
24
/**
25
- Main view. Can be customisable if need.
25
+ SPAlert: Main view. Can be customisable if need.
26
26
27
27
For change duration, check method `present` and pass duration and other specific property if need customise.
28
28
Original file line number Diff line number Diff line change 22
22
import UIKit
23
23
24
24
/**
25
- Wrapper of haptic styles.
25
+ SPAlert: Wrapper of haptic styles.
26
26
*/
27
27
public enum SPAlertHaptic {
28
28
You can’t perform that action at this time.
0 commit comments