Skip to content

Custom API Animations wrapper using UIViewPropertyAnimator

Notifications You must be signed in to change notification settings

blorenzo10/api-animations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

API - Animation

This is an animation wrapper built over UIViewPropertyAnimator in order to make the animations code more readable and clean

Usage

view.performeAnimations(.inParallel, with:
	.scale(.scaleIn, withDuration: 1.5, scaleFactor: CustomAnimation.ScaleFactor(x: 1.3, y: 1.3)),
	.fade(.fadeIn, withDuration: 3.0, onCompletion: completionHandler))
		
view.performeAnimations(.inSequence,with:
	.bounce(.bounceOut, withDuration: 2.0, scaleFactor: CustomAnimation.ScaleFactor(x: 1.3, y: 1.3)),
	.fade(.fadeOut, withDuration: 1.0, onCompletion: completionHandler))

About

Custom API Animations wrapper using UIViewPropertyAnimator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages