From ecf5ee1872e30ea0f64eb2796a7fd31ad008338c Mon Sep 17 00:00:00 2001 From: Sudeep Agarwal Date: Wed, 16 Dec 2015 02:30:03 +0800 Subject: [PATCH] Update readme --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 6d79546..b497847 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,12 @@ Creating a SAConfettiView is the same as creating a UIView: let confettiView = SAConfettiView(frame: self.view.bounds) ``` +Don't forget to add the subview! + +```swift +self.view.addSubview(confettiView) +``` + ### Types Pick one of the preconfigured types of confetti with the `.type` property, or create your own by providing a custom image. This property defaults to the `.Confetti` type.