Simple refresh control for iOS based on SpriteKit and Core Graphics.
Project inspired by concept of Yup Nguyen
To integrate RainyRefreshControl into your Xcode project using CocoaPods, specify it in your Podfile
:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'
target 'TargetName' do
pod 'RainyRefreshControl'
end
Then, run the following command:
$ pod install
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
$ brew update
$ brew install carthage
To integrate RainyRefreshControl into your Xcode project using Carthage, specify it in your Cartfile
:
github "Onix-Systems/RainyRefreshControl"
Run carthage update
to build the framework and drag the built RainyRefreshControl.framework
into your Xcode project.
Just import RainyRefreshControl framework into your class and add it to UITableView or UICollectionView:
let refresh = RainyRefreshControl()
refresh.addTarget(self, action: #selector(ViewController.doRefresh), for: .valueChanged)
tableView.addSubview(refresh)
Onix-Systems is IT Outsourcing, web design and mobile application development company bringing expert execution, situated in Ukraine.
RainyRefreshControl is released under the MIT license. See LICENSE for details.