Skeleton is an easy way to create sliding CAGradientLayer animations! It works great for creating skeleton screens:
π©οΏ½?π» 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.4.0
π License
Skeleton is available under the MIT license. See the LICENSE file for more info.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.


