Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
omarthamri authored Dec 1, 2023
1 parent a70ed26 commit ce662e8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ TinderSwipingAnimation is an easy to use library written using SwiftUI to simpli
### Swift Package Manager
* File > Swift Packages > Add Package Dependency
* Add ```https://github.com/omarthamri/TinderSwipingAnimation.git```
* Select "Up to Next Major" with "1.7.2"
* Select "Up to Next Major" with "1.7.3"
### Cocoapods
```
target 'MyApp' do
Expand All @@ -29,9 +29,9 @@ A basic implementation example would be like this:
```
struct ContentView: View {
let cards: [CardModel] = [ // This is the data to be shown in Card
CardModel(name: "Brie", imageName: "brie", age: 34),
CardModel(name: "Scarlett", imageName: "scarlett", age: 38),
CardModel(name: "Elizabeth", imageName: "elizabeth", age: 33)
CardModel(name: "Brie", imageName: "brie", age: "34"),
CardModel(name: "Scarlett", imageName: "scarlett", age: "38"),
CardModel(name: "Elizabeth", imageName: "elizabeth", age: "33")
]
let buttons: [ButtonModel] = [ // those are the buttons to be shown in the card
ButtonModel(image: Image(systemName: "xmark"), color: .pink),
Expand Down

0 comments on commit ce662e8

Please sign in to comment.