Description
SkeletonView is a Swift library for iOS that shows a loading placeholder while content is being fetched. Apps usually show a spinner during API requests or long processes, and SkeletonView replaces that with a skeleton of the views that will appear, so users can see what is coming. You mark which views should be skeletonable, either in code or in Interface Builder and storyboards, then show the skeleton with one of four styles: solid, gradient, animated solid or animated gradient. The library is recursive, so calling show on the main container view, such as a view controller's root view, covers all the skeletonable views inside it. It is compatible with UITableView and UICollectionView through a protocol that supplies the number of rows or items and the cell identifiers. Other features include customizable colors, animations and transitions, and text skeleton support. The library works on iPhone and iPad, and it can be installed with CocoaPods, Carthage or Swift Package Manager. Since version 1.30.0 it also supports XCFrameworks, and a separate repository is provided for that form.…
Highlights
- Skeleton placeholders for loading content
- Solid, gradient and animated styles
- Works with table and collection views
- Set up in code or Interface Builder
- CocoaPods, Carthage and Swift Package Manager
Ratings & Reviews
No ratings yet
Be the first to rate SkeletonView.
People also visit
SkeletonView FAQ
What is SkeletonView?
A Swift library that shows skeleton placeholder views while content loads in an iOS app.
Which platforms does it support?
iPhone and iPad, as an iOS library written in Swift.
How do I install it?
Use CocoaPods, Carthage or the Swift Package Manager, as the README describes.
How do I show the skeleton?
Mark the views as skeletonable, then call the show method with one of the four styles. Calling it on a container view covers its children.
Does it work with table views?
Yes. A table or collection view has to conform to the skeleton data source protocol, which provides default implementations for most methods.
Can I change the look?
Yes. You can set custom colors, animations and transitions.
What are the best SkeletonView alternatives?
Popular alternatives to SkeletonView include LoaderUI, Matrix Swift and Pastel. See all SkeletonView alternatives








