Skip to content

๐Ÿ’€ An easy way to create sliding CAGradientLayer animations! Works great for creating skeleton screens for loading content.

License

Notifications You must be signed in to change notification settings

mdabbagh88/Skeleton

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

39 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Skeleton

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.3.1

๐Ÿ“„ License

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

About

๐Ÿ’€ An easy way to create sliding CAGradientLayer animations! Works great for creating skeleton screens for loading content.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%