Skip to content

Commit

Permalink
Merge pull request #209 from mykhpl/patch-1
Browse files Browse the repository at this point in the history
properly renamed variables to match inside a few code examples
  • Loading branch information
vikmeup authored Jul 7, 2016
2 parents 58090eb + 607bfe6 commit 4047936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ alertView.showWarning("No button", subTitle: "Just wait for 3 seconds and I will
let appearance = SCLAlertView.SCLAppearance(
showCircularIcon: false
)
let alert = SCLAlertView(appearance: appearance)
let alertView = SCLAlertView(appearance: appearance)
alertView.showSuccess("No icon", subTitle: "This is a clean alert without Icon!")
```

Expand All @@ -119,7 +119,7 @@ alertView.showSuccess("No icon", subTitle: "This is a clean alert without Icon!"
let appearance = SCLAlertView.SCLAppearance(
showCircularIcon: true
)
let alert = SCLAlertView(appearance: appearance)
let alertView = SCLAlertView(appearance: appearance)
let alertViewIcon = UIImage(named: "IconImage") //Replace the IconImage text with the image name
alertView.showInfo("Custom icon", subTitle: "This is a nice alert with a custom icon you choose", circleIconImage: alertViewIcon)
```
Expand Down

0 comments on commit 4047936

Please sign in to comment.