An elastic pull-to-refresh component for iOS apps with customizable loading views and smooth bounce animations.
DGElasticPullToRefresh is an open-source iOS library that provides an elastic pull-to-refresh component for Swift applications. It solves the need for a more visually engaging refresh animation than the standard iOS pull-to-refresh, featuring a smooth bounce effect and customizable loading views.
iOS developers building Swift applications who want to enhance their user interface with animated pull-to-refresh functionality.
Developers choose DGElasticPullToRefresh for its polished elastic animation, easy customization options, and simple integration—offering a drop-in replacement for standard refresh controls with a more modern look.
Elastic pull to refresh for iOS developed in Swift
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Implements a smooth bounce effect inspired by a Dribbble design, providing a visually engaging alternative to standard pull-to-refresh controls, as shown in the animated GIFs.
Allows using built-in circular loading or creating custom views by subclassing DGElasticPullToRefreshLoadingView, with example code for implementing setPullProgress, startAnimating, and stopLoading methods.
Provides simple methods like dg_setPullToRefreshFillColor and dg_setPullToRefreshBackgroundColor to match app design, demonstrated with UIColor settings in the README.
Offers straightforward functions such as dg_addPullToRefreshWithActionHandler for quick setup, requiring minimal code to add refresh functionality.
Requires explicit removal of pull-to-refresh in view controller deinit, which the README admits is a 'temporary solution' and risks memory leaks if overlooked.
Built for Swift 3.0, making it potentially outdated for newer Swift versions without updates, which could complicate migration in modern projects.
Maintained by one developer, as shown in the contact section, leading to slower updates and limited support for bugs or new iOS features.