A customized refresh control based on UIRefreshControl

RefreshControl

Notice

The noppefoxwolf/RefreshControl is using some black magic. I recommend reviewing the implementation code. You can use this library with own risk.

Usage

The noppefoxwolf/RefreshControl is subclass of UIRefreshControl. You can use this library same of UIRefreshControl.

import RefreshControl
...
refreshControl = RefreshControl()
refreshControl!.addAction(UIAction { _ in
  ...
}, for: .primaryActionTriggered)

LICENSE

RefreshControl is released under an MIT license. See the LICENSE file for more information

GitHub

View Github