Skip to content

usagimaru/CAAnimationCallback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CAAnimationCallback

A block-based callbacks for CAAnimation. Compatible to macOS and iOS.

Usage

Add the package CAAnimationCallback with Swift Package Manager.

let anim = CAAnimation()
anim.startHandler { anim, finished in
	// The animation is started. `finished` is always true.
}
anim.completionHandler { anim, finished in
	// The animation is completed.
}

theLayer.add(anim, forKey: nil)

License

See LICENSE for details.

About

A block-based callbacks for CAAnimation.

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages