enisinanaj / typing-animation

"Typing" animation with 3 dots. The animation is done using the Facebook POP library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typing-animation

"Typing" animation with 3 dots. The animation is done using the Facebook POP library

Output

Resulting animation

In this project

In the project so far there's the animation shown above managed through a class called TypingLoaderAnimation.

The animation class needs just two inputs which are a list of views as Array<UIView> that will be animated and a starting Y coordinate.

Optionally a jump variable can be set to determine the target position from the starting Y point.

Usage

It can be used as follows:

    var views: Array<UIView> = Array<UIView>()
    views.append(circleLarge)
    views.append(circle1Large)
    views.append(circle2Large)
        
    let animation = TypingLoaderAnimation(viewList: views, resetZeroTo: currentStartingYPoint + 70)
    animation.jump = 12 // Optional
    animation.startAnimation()

About

"Typing" animation with 3 dots. The animation is done using the Facebook POP library

License:GNU General Public License v3.0


Languages

Language:Swift 97.9%Language:Ruby 2.1%