Skip to content

yeahsilver/SwiftUIViewAnimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

📱 SwiftUIViewAnimation

📍 Introduction

SwiftUIViewAnimation is a gorgeous set of UIView Animations!


✏️ Animation type

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



1. Fade In

2. Fade Out

3. Left to Right

4. Right to Left

5. Spring Left

6. Spring Right

7. Top to Bottom


📝 How to Use?

  1. Copy and Paste git clone https://github.com/yeahsilver/SwiftUIViewAnimation.git .

  2. Create new project that you want to use SwiftUIViewAnimation

  3. Click your root folder in your project to click Add file to your project ...

    스크린샷 2020-11-13 오전 12 15 53

  4. Click SwiftUIViewAnimation.xcodeproj

    스크린샷 2020-11-13 오전 12 18 38

  5. Drag SwiftUIViewAnimation.framework to Frameworks, Libraries, and Embedded Content

    스크린샷 2020-11-13 오전 12 21 08

    스크린샷 2020-11-13 오전 12 21 56

  6. Create new View in .storyboard (purple section is indicated as a view)

    스크린샷 2020-11-13 오전 12 24 56

  7. 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, push cmd + B to build a project

    You will first write a animation number as referencing a chart above and a animationView as view that you want to animate

    스크린샷 2020-11-13 오전 12 28 16

  8. Run your project!

    It is too slow at first loading. Be patient when you run your awesome project first