Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Bachmann authored Jun 9, 2021
1 parent 1b027e5 commit e2a6c16
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ It requires iOS 14 and Xcode 12!

In Xcode go to `File -> Swift Packages -> Add Package Dependency` and paste in the repo's url: `https://github.com/simibac/ConfettiSwiftUI` and select master branch.

### Usage:
### Usage

Import the package in the file you would like to use it: `import ConfettiSwiftUI`

Expand Down Expand Up @@ -51,7 +51,7 @@ You can use the configurator app in [demo project here](https://github.com/simib
<img src="./Gifs/default.gif" width="300" />
</p>

Code:
Code

```swift
ConfettiCannon(counter: $counter1)
Expand Down Expand Up @@ -146,3 +146,9 @@ ConfettiCannon(counter: $counter7, num:1, confettis: [.text("💵"), .text("💶
| radius | CGFloat | explosion radius | 300.0 |
| repetitions | Int | number of repetitions for the explosion | 0 |
| repetitionInterval | Double | duration between the repetitions | 1.0 |


## Projects
The following projects have integrated ConfettiSwiftUI in their App.

- [Basic Code](https://basiccode.de) avaiable on the [AppStore](https://apps.apple.com/de/app/basiccode/id1562309250)

0 comments on commit e2a6c16

Please sign in to comment.