Skip to content

Instantly share code, notes, and snippets.

View Apps4LifeLLC's full-sized avatar

Apps4Life Apps4LifeLLC

View GitHub Profile
@matej
matej / CALayer+MBAnimationPersistence.h
Last active November 20, 2024 13:35
Persists (pauses) layer animations (including UIView animation generated animations) when the application enters into background and restores (resumes) animations from where they left off upon returning from background.
//
// CALayer+MBAnimationPersistence.h
//
// Created by Matej Bukovinski on 19. 03. 14.
// Copyright (c) 2014 Matej Bukovinski. All rights reserved.
//
#import <QuartzCore/QuartzCore.h>