Skip to content

Commit

Permalink
Prepare for version 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
candostdagdeviren committed Mar 14, 2018
1 parent 043fccc commit 87b7c76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CDAlertView.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'CDAlertView'
s.version = '0.7.1'
s.version = '0.8.0'
s.summary = 'Highly customizable alert/notification/success/error/alarm popup'
s.description = <<-DESC
CDAlertView is highly customizable alert popup written in Swift 3. Usage is similar to UIAlertController.
Expand Down
2 changes: 1 addition & 1 deletion CDAlertView/Classes/CDAlertView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import Foundation

public enum CDAlertViewType {
case error, warning, success, notification, alarm, custom(image: UIImage), noImage
case error, warning, success, notification, alarm, noImage, custom(image: UIImage)

// This is needed because we can't do a comparison of enums
// if it has an associated value.
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ CDAlertView types:

```swift
public enum CDAlertViewType {
case error, warning, success, notification, alarm, custom(image:UIImage)
case error, warning, success, notification, alarm, noImage, custom(image:UIImage)
}
```

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

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

`hasRoundedCorners` -> Apply rounded corners to alert view. Default is `true`.

`hasShadow: Bool` -> Apply shadows around the popup. Defualt is `true`.

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

0 comments on commit 87b7c76

Please sign in to comment.