SwiftUIViewAnimation
is a gorgeous set of UIView Animations!
Animation | Animation | Animation |
---|---|---|
1. Fade In | 2. Fade Out | 3. Left to Right |
4. Right to Left | 5. Spring Left | 6. Spring Right |
7. Top to Bottom |
-
Copy and Paste
git clone https://github.com/yeahsilver/SwiftUIViewAnimation.git
. -
Create new project that you want to use
SwiftUIViewAnimation
-
Click your root folder in your project to click Add file to
your project
... -
Click
SwiftUIViewAnimation.xcodeproj
-
Drag
SwiftUIViewAnimation.framework
to Frameworks, Libraries, and Embedded Content -
Create new View in .storyboard (purple section is indicated as a view)
-
Go to .swift file that you want to use
SwiftUIViewAnimation
and write the code below (this code is just an example)if not import
SwiftUIViewAnimation
, pushcmd + B
to build a project -
Run your project!