Dark Mode And Light Mode
To run the example project, clone the repo, and run pod install from the Example directory first.
EasySkeletonView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'EasySkeletonView'Here is the full process to use this library. It's just simple. Just follow below's quote.
Import this library on your file.
import EasySkeletonViewDecleare a variable where you want to show.
var skeletonView : EasySkeletonView?Init with view where you want to show this skeleton and set the style of the skeleton.
skeletonView = EasySkeletonView(on: self.skView, style: .listWithCircularImage)What would be height of each list. Default value is 90
skeletonView?.eachItemHeight = 90What would be the spped of gradient movement. Default value is 1
skeletonView?.gradientSpeed = 0.7What will be the gap of each list. Default value is 0.
skeletonView?.gapOfList = 0When you show line right side of circle or box then how many lines you want to show.Default value is 3
skeletonView?.numberOfLines = 3Number of list you want to show. Default is max number base your providing item height.
skeletonView?.numOfList = 10Show your animation
skeletonView?.startAnimating()Stop showing your skeleton
self.skeletonView?.stopAnimating()Avijit Babu, avijitmobi@gmail.com
EasySkeletonView is available under the MIT license. See the LICENSE file for more info.

