Skip to content

Commit 87b7c76

Browse files
Prepare for version 0.8.0
1 parent 043fccc commit 87b7c76

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CDAlertView.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'CDAlertView'
3-
s.version = '0.7.1'
3+
s.version = '0.8.0'
44
s.summary = 'Highly customizable alert/notification/success/error/alarm popup'
55
s.description = <<-DESC
66
CDAlertView is highly customizable alert popup written in Swift 3. Usage is similar to UIAlertController.

CDAlertView/Classes/CDAlertView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import Foundation
1010

1111
public enum CDAlertViewType {
12-
case error, warning, success, notification, alarm, custom(image: UIImage), noImage
12+
case error, warning, success, notification, alarm, noImage, custom(image: UIImage)
1313

1414
// This is needed because we can't do a comparison of enums
1515
// if it has an associated value.

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ CDAlertView types:
5454

5555
```swift
5656
public enum CDAlertViewType {
57-
case error, warning, success, notification, alarm, custom(image:UIImage)
57+
case error, warning, success, notification, alarm, noImage, custom(image:UIImage)
5858
}
5959
```
6060

@@ -101,6 +101,8 @@ alert.autoHideTime = 4.5 // This will hide alert box after 4.5 seconds
101101

102102
`popupWidth: CGFloat` -> Width of the popup view
103103

104+
`hasRoundedCorners` -> Apply rounded corners to alert view. Default is `true`.
105+
104106
`hasShadow: Bool` -> Apply shadows around the popup. Defualt is `true`.
105107

106108
`circleFillColor: UIColor` -> Sets background color of header icon. (Color of circle area)

0 commit comments

Comments
 (0)