Latest 0.3.1
Homepage https://github.com/gonzalonunez/Skeleton
License MIT
Platforms ios 9.0
Authors

Skeleton


Skeleton


Skeleton


Skeleton

Skeleton is an easy way to create sliding CAGradientLayer animations! It works great for creating skeleton screens:

Skeleton

👩‍💻 Usage

The entire library comes down to just one public-facing extension:

public extension CAGradientLayer {
  public func slide(to dir: Direction, group: ((CAAnimationGroup) -> Void) = { _ in })
  public func stopSliding()
}

You can check out the example and the documentation for more.

📚 Example

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

🛠 Installation

Skeleton is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "Skeleton"

Skeleton is also available through Carthage. Add this to your Cartfile:

github "gonzalonunez/Skeleton" ~> 0.3.1

📄 License

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

Latest podspec

{
    "name": "Skeleton",
    "version": "0.3.1",
    "summary": "Skeleton is an easy way to create sliding CAGradientLayer animations!",
    "description": "Skeleton is an easy way to create sliding CAGradientLayer animations! Works great for creating skeleton screens for loading content.",
    "homepage": "https://github.com/gonzalonunez/Skeleton",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Gonzalo Nuu00f1ez": "[email protected]"
    },
    "source": {
        "git": "https://github.com/gonzalonunez/Skeleton.git",
        "tag": "0.3.1"
    },
    "platforms": {
        "ios": "9.0"
    },
    "swift_version": "4.2",
    "source_files": "Skeleton/**/*"
}

Pin It on Pinterest

Share This