Skip to content

Commit

Permalink
Fixed typo in showCloseButton (was showCloseButtton)
Browse files Browse the repository at this point in the history
Added new SCLAlertViewStyle.Wait in README.md
  • Loading branch information
ncerezo committed Jun 5, 2015
1 parent 2c29b16 commit 3bf9ca2
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ alert.showEdit(self, title: "Edit View", subTitle: "This alert view shows a text
####Alert View Styles
```swift
enum SCLAlertViewStyle: Int {
case Success, Error, Notice, Warning, Info, Edit
case Success, Error, Notice, Warning, Info, Edit, Wait
}
```

4 changes: 2 additions & 2 deletions SCLAlertView/SCLAlertView.swift
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ public class SCLAlertView: UIViewController {
var pressBrightnessFactor = 0.85

// UI Options
var showCloseButtton = true
var showCloseButton = true

// Members declaration
var baseView = UIView()
@@ -387,7 +387,7 @@ public class SCLAlertView: UIViewController {
}

// Done button
if showCloseButtton {
if showCloseButton {
let txt = completeText != nil ? completeText! : "Done"
addButton(txt, target:self, selector:Selector("hideView"))
}

0 comments on commit 3bf9ca2

Please sign in to comment.