Skip to content

Commit e5ec9ff

Browse files
Merge pull request #25 from SimformSolutionsPvtLtd/feature/add_pod_install_instructions_readme
Update ReadMe file
2 parents ec55a5d + 2658c21 commit e5ec9ff

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

README.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,42 @@ SwiftUI animation library to bring your app to life. ✨
2121
### ProgressView ⏳
2222
![ProgressView](https://github.com/SimformSolutionsPvtLtd/SS-iOS-Animations/blob/master/SSSwiftUIAnimations/GIFs/ProgressView.gif?raw=true)
2323

24-
[**Code Link**](https://github.com/SimformSolutionsPvtLtd/SS-iOS-Animations/tree/master/SSSwiftUIAnimations/Sources/ProgressAnimation)
24+
[**Code Link**](https://github.com/SimformSolutionsPvtLtd/SS-iOS-Animations/tree/master/SSSwiftUIAnimations/Sources/ProgressAnimation) | Animation Name: ProgressAnimation
2525

2626
### Left Right ArrowView ↔
2727
![LRArrowView](https://github.com/SimformSolutionsPvtLtd/SS-iOS-Animations/blob/master/SSSwiftUIAnimations/GIFs/LRArrowView.gif?raw=true)
2828

29-
[**Code Link**](https://github.com/SimformSolutionsPvtLtd/SS-iOS-Animations/tree/master/SSSwiftUIAnimations/Sources/ArrowLeftRightAnimation)
29+
[**Code Link**](https://github.com/SimformSolutionsPvtLtd/SS-iOS-Animations/tree/master/SSSwiftUIAnimations/Sources/ArrowLeftRightAnimation) | Animation Name: ArrowLeftRightAnimation
3030

3131
### Water Effect ProgressView 🌊
3232
![WaterEffectProgressView](https://github.com/SimformSolutionsPvtLtd/SS-iOS-Animations/blob/master/SSSwiftUIAnimations/GIFs/WaterProgressView.gif?raw=true)
3333

34-
[**Code Link**](https://github.com/SimformSolutionsPvtLtd/SS-iOS-Animations/tree/master/SSSwiftUIAnimations/Sources/WaterProgressAnimation)
34+
[**Code Link**](https://github.com/SimformSolutionsPvtLtd/SS-iOS-Animations/tree/master/SSSwiftUIAnimations/Sources/WaterProgressAnimation) | Animation Name: WaterProgressAnimation
35+
36+
## Installation
37+
**CocoaPods**
38+
39+
- You can use CocoaPods to install SSSwiftUIAnimations by adding it to your Podfile. It will add all the Animation to your project:
40+
41+
use_frameworks!
42+
pod 'SSSwiftUIAnimations'
43+
44+
- For installing only particular Animation from the Pod. Use /AnimationName at the end. You can find the AnimationName at the bottom of Animations listed above.<br/> **Example: pod 'SSSwiftUIAnimations/WaterProgressAnimation'**
45+
46+
pod 'SSSwiftUIAnimations/[AnimationName]'
47+
48+
- Then, wherever you want to use it, Just:
49+
50+
import SwiftUI
51+
import SSSwiftUIAnimations
52+
53+
**Swift Package Manager**
54+
55+
- When using Xcode 11 or later, you can install `SSSwiftUIAnimations` through [Swift Package Manager](https://swift.org/package-manager/) by going to your Project settings > `Swift Packages` and add the repository by providing the GitHub URL. Alternatively, you can go to `File` > `Swift Packages` > `Add Package Dependencies...`
56+
57+
**Manually**
58+
- Download and drop **SSSwiftUIAnimations** folder in your project.
59+
- Congratulations!
3560

3661
## Found these animations useful? :heart:
3762

0 commit comments

Comments
 (0)