Shimmer is a lightweight Objective-C library by Facebook that adds an elegant, animated shimmering effect to views—used as a subtle loading indicator, such as in the Paper app. There's also an example project. In the example, you can swipe horizontally and vertically to try various shimmering parameters, or tap to start or stop shimmering. (To build the example locally, you'll need to open FBShimmering.xcworkpace rather than the .xcodeproj.) Shimmer uses the -[CALayer mask] property to enable shimmering, similar to what's described in John Harper's 2009 WWDC talk (unfortunately no longer online). Shimmer uses CoreAnimation's timing features to smoothly transition "on-beat" when starting and stopping the shimmer.
Features
- Applies a gradient-based shimmering effect via CALayer masks
- Supports FBShimmeringView and FBShimmeringLayer components
- Simple activation via setting shimmering = YES on the view
- Serves as a lightweight, unobtrusive loading UI element
- BSD-licensed, easy integration via CocoaPods
- Inspired UI seen in Facebook’s Paper app, popularized as a Skeleton loading pattern
Categories
AnimationLicense
BSD LicenseFollow Shimmer
Other Useful Business Software
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Shimmer!