Skip to content

Instantly share code, notes, and snippets.

Peter Sparago psparago

Block or report user

Report or block psparago

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
psparago / UIExtensions.swift
Created Jan 24, 2016
Simple UIView bounce animation
View UIExtensions.swift
extension UIView {
private class AnimationDelegate : NSObject {
let completion: (() -> Void)?
init(completion: (() -> Void)?) {
self.completion = completion
override func animationDidStop(theAnimation: CAAnimation, finished flag: Bool) {
You can’t perform that action at this time.