Swiftpack.co - tangbl93/AnimationDeamon as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by tangbl93.
tangbl93/AnimationDeamon 1.0.0
Prevent animation being paused automatically
⭐️ 0
🕓 2 years ago
iOS
.package(url: "https://github.com/tangbl93/AnimationDeamon.git", from: "1.0.0")

AnimationDeamon

Version License Platform

中文文档

Features

Prevent looping animation from being paused in the following situations:

  • UIApplication didEnterBackground
  • UIViewController viewDidDisappear

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

iOS 9.0+

Installation

CocoaPods

Simply add the following line to your Podfile:

pod 'AnimationDeamon'

Swift Package Manager

To add a package dependency to your Xcode project, select File > Swift Packages > Add Package Dependency and enter https://github.com/tangbl93/AnimationDeamon.git to the text field.

Usage

AnimationDeamon.deamon(view: view) { (view) in
    // resume view animation
}

Author

tangbl93, [email protected]

License

AnimationDeamon is available under the MIT license. See the LICENSE file for more info.

GitHub

link
Stars: 0
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics