Skip to content

Latest commit

 

History

History
180 lines (109 loc) · 7.82 KB

File metadata and controls

180 lines (109 loc) · 7.82 KB

Activity indicator animations

IBAnimatable provides a broad set of nice loading animations. We can use them in Interface Builder as well as in code by using AnimatableActivityIndicatorView.

You can see an example of each animation in the demo app. Launch the app, then tap on "Playground" button, and tap on "Activity Indicator" cell. Choose your animation, and see the result.

Properties

Property name Data type Description
animationType String Supported activity indicator animations. Take a look at the supported animations
color UIColor Color of the activity indicator. Default is black.
hidesWhenStopped Bool Controls whether the receiver is hidden when the animation is stopped. Default is true
isAnimating Bool Wether the activityIndicator is animating or not

Methods available

Method name Description
startAnimating() Start the animation
stopAnimating() Stop the animation. The activityIndicator will be hidden if hidesWhenStopped value is true.

###Supported animation:

  1. AudioEqualizer
  2. BallBeat
  3. BallClipRotate
  4. BallClipRotateMultiple
  5. BallClipRotatePulse
  6. BallGridBeat
  7. BallGridPulse
  8. BallPulse
  9. BallPulseRise
  10. BallPulseSync
  11. BallRotate
  12. BallRotateChase
  13. BallScale
  14. BallScaleMultiple
  15. BallScaleRipple
  16. BallScaleRippleMultiple
  17. BallSpinFadeLoader
  18. BallTrianglePath
  19. BallZigZag
  20. BallZigZagDeflect
  21. CubeTransition
  22. LineScale
  23. LineScaleParty
  24. LineScalePulseOut
  25. LineScalePulseOutRapid
  26. LineSpinFadeLoader
  27. Orbit
  28. Pacman
  29. SemiCircleSpin
  30. SquareSpin
  31. TriangleSkewSpin

AudioEqualizer

ActivityIndicator - LineScalePulseOut

BallBeat

ActivityIndicator - LineScalePulseOut

BallClipRotate

ActivityIndicator - LineScalePulseOut

BallClipRotateMultiple

ActivityIndicator - LineScalePulseOut

BallClipRotatePulse

ActivityIndicator - LineScalePulseOut

BallGridBeat

ActivityIndicator - LineScalePulseOut

BallGridPulse

ActivityIndicator - LineScalePulseOut

BallPulse

ActivityIndicator - LineScalePulseOut

BallPulseRise

ActivityIndicator - LineScalePulseOut

BallPulseSync

ActivityIndicator - LineScalePulseOut

BallRotate

ActivityIndicator - LineScalePulseOut

BallRotateChase

ActivityIndicator - LineScalePulseOut

BallScale

ActivityIndicator - LineScalePulseOut

BallScaleMultiple

ActivityIndicator - LineScalePulseOut

BallScaleRipple

ActivityIndicator - LineScalePulseOut

BallScaleRippleMultiple

ActivityIndicator - LineScalePulseOut

BallSpinFadeLoader

ActivityIndicator - LineScalePulseOut

BallTrianglePath

ActivityIndicator - LineScalePulseOut

BallZigZag

ActivityIndicator - LineScalePulseOut

BallZigZagDeflect

ActivityIndicator - LineScalePulseOut

CubeTransition

ActivityIndicator - LineScalePulseOut

LineScale

ActivityIndicator - LineScalePulseOut

LineScaleParty

ActivityIndicator - LineScalePulseOut

LineScalePulseOut

ActivityIndicator - LineScalePulseOut

LineScalePulseOutRapid

ActivityIndicator - LineScalePulseOut

LineSpinFadeLoader

ActivityIndicator - LineScalePulseOut

Orbit

ActivityIndicator - LineScalePulseOut

Pacman

ActivityIndicator - LineScalePulseOut

SemiCircleSpin

ActivityIndicator - LineScalePulseOut

SquareSpin

ActivityIndicator - LineScalePulseOut

TriangleSkewSpin

ActivityIndicator - LineScalePulseOut