Skip to content

Commit

Permalink
Fix demo project not building with the latest Cheers version
Browse files Browse the repository at this point in the history
  • Loading branch information
revolter committed Dec 1, 2017
1 parent 46fb62f commit 524d7cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Example/CheersDemo/CheersDemo/Sources/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ViewController: UIViewController {
super.viewDidLoad()
view.backgroundColor = UIColor.white

cheerView.config.particle = .confetti
cheerView.config.particle = .confetti(allowedShapes: Particle.ConfettiShape.all)
view.addSubview(cheerView)
}

Expand Down
4 changes: 2 additions & 2 deletions Example/CheersDemo/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PODS:
- Cheers (0.1.0)
- Cheers (2.0.0)

DEPENDENCIES:
- Cheers (from `../../`)
Expand All @@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: "../../"

SPEC CHECKSUMS:
Cheers: eb2a513bd7fbc89b9b34017b7456473402eeca16
Cheers: df4128f342df005e53ccbba971a0bdfb5d735f6d

PODFILE CHECKSUM: 5e6d52651a9c11cd39c5d53c6768b84685a3eb28

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let cheerView = CheerView()
view.addSubview(cheerView)

// Configure
cheerView.config.particle = .confetti
cheerView.config.particle = .confetti(allowedShapes: Particle.ConfettiShape.all)

// Start
cheerView.start()
Expand All @@ -35,7 +35,7 @@ Configuration will be applied at the next `start`

```swift
// Use predefined confetti
cheerView.config.particle = .confetti
cheerView.config.particle = .confetti(allowedShapes: Particle.ConfettiShape.all)

// Use texts
let string = NSAttributedString(string: "❤️", attributes: [
Expand All @@ -52,7 +52,7 @@ cheerView.config.colors = [UIColor.red, UIColor.green]

// Customize cells
cheerView.config.customize = { cells in

}
```

Expand Down

0 comments on commit 524d7cc

Please sign in to comment.