Skip to content

paulslss300/Swift-5-Bounce-LoadingAnimation

Repository files navigation

Swift-5-Bounce-LoadingAnimation

Features

Creates a customizeable loading view with a bouncing image animation.

How to use it

Copy and paste the animationView struct to your project

  1. Put: var loadingAnimation = animationView() in ViewController class

  2. Set up loadingAnimation by setting up the superView and image (optional):
    loadingAnimation.superView = scrollView

if let image = UIImage(named: "IMAGE_NAME") { loadingAnimation.image = image }

  1. Start animation:
    loadingAnimation.startAnimation()

  2. Stop animation:
    loadingAnimation.stopAnimation()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages