From 607bfe604ad097c45166cd99e1683da43759b608 Mon Sep 17 00:00:00 2001 From: My-khael Pierce Date: Thu, 7 Jul 2016 11:16:53 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5d36514..41c311a 100644 --- a/README.md +++ b/README.md @@ -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!") ``` @@ -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) ```