Skip to content

Commit 9675225

Browse files
committed
Update docs.
1 parent a46cfd2 commit 9675225

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
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 = '3.0.5'
4+
s.version = '3.0.6'
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.license = { :type => "MIT", :file => "LICENSE" }

Sources/SPAlert/Models/SPAlertIconAnimatable.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
import UIKit
2323

2424
/**
25-
Protocol for animatable views.
25+
SPAlert: Protocol for animatable views.
2626
*/
2727
public protocol SPAlertIconAnimatable {
2828

2929
/**
30-
Shoud call when need start animation.
30+
SPAlert: Shoud call when need start animation.
3131
*/
3232
func animate()
3333
}

Sources/SPAlert/Models/SPAlertLayout.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,22 @@
2222
import UIKit
2323

2424
/**
25-
Layout model for alert view.
25+
SPAlert: Layout model for alert view.
2626
*/
2727
open class SPAlertLayout {
2828

2929
/**
30-
Icon size.
30+
SPAlert: Icon size.
3131
*/
3232
open var iconSize: CGSize
3333

3434
/**
35-
Alert margings for each side.
35+
SPAlert: Alert margings for each side.
3636
*/
3737
open var margins: UIEdgeInsets
3838

3939
/**
40-
Space between icon and title if both available.
40+
SPAlert: Space between icon and title if both available.
4141
*/
4242
open var spaceBetweenIconAndTitle: CGFloat
4343

Sources/SPAlert/SPAlert.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
import UIKit
2323

2424
/**
25-
Acess level. Here you get ready-use methods.
25+
SPAlert: Acess level. Here you get ready-use methods.
2626
Recomended use it.
2727
*/
2828
public enum SPAlert {
2929

3030
/**
31-
Present alert with preset and custom haptic.
31+
SPAlert: Present alert with preset and custom haptic.
3232

3333
- parameter title: Title text in alert.
3434
- parameter message: Subtitle text in alert. Optional.
@@ -42,7 +42,7 @@ public enum SPAlert {
4242
}
4343

4444
/**
45-
Present alert with preset and automatically detect type haptic.
45+
SPAlert: Present alert with preset and automatically detect type haptic.
4646

4747
- parameter title: Title text in alert.
4848
- parameter message: Subtitle text in alert. Optional.
@@ -56,7 +56,7 @@ public enum SPAlert {
5656
}
5757

5858
/**
59-
Show only message, without title and icon.
59+
SPAlert: Show only message, without title and icon.
6060

6161
- parameter message: Title text.
6262
- parameter haptic: Haptic response with present. Default is `.success`.

Sources/SPAlert/SPAlertView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import UIKit
2323

2424
/**
25-
Main view. Can be customisable if need.
25+
SPAlert: Main view. Can be customisable if need.
2626

2727
For change duration, check method `present` and pass duration and other specific property if need customise.
2828

Sources/SPAlert/Services/SPAlertHaptic.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import UIKit
2323

2424
/**
25-
Wrapper of haptic styles.
25+
SPAlert: Wrapper of haptic styles.
2626
*/
2727
public enum SPAlertHaptic {
2828

0 commit comments

Comments
 (0)