Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Onix-Systems/RainyRefreshControl
Simple refresh control for iOS based on SpriteKit and Core Graphics
https://github.com/Onix-Systems/RainyRefreshControl
Last synced: 3 months ago
JSON representation
Simple refresh control for iOS based on SpriteKit and Core Graphics
- Host: GitHub
- URL: https://github.com/Onix-Systems/RainyRefreshControl
- Owner: Onix-Systems
- License: mit
- Created: 2016-11-21T15:29:42.000Z (almost 8 years ago)
- Default Branch: develop
- Last Pushed: 2019-07-02T01:29:48.000Z (over 5 years ago)
- Last Synced: 2024-04-24T14:51:28.818Z (6 months ago)
- Language: Swift
- Homepage:
- Size: 2.27 MB
- Stars: 676
- Watchers: 21
- Forks: 47
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ios - RainyRefreshControl - Simple refresh control for iOS inspired by [concept](https://dribbble.com/shots/2242263--1-Pull-to-refresh-Freebie-Weather-Concept). (UI / Pull to Refresh)
- awesome-ios-star - RainyRefreshControl - Simple refresh control for iOS inspired by [concept](https://dribbble.com/shots/2242263--1-Pull-to-refresh-Freebie-Weather-Concept). (UI / Pull to Refresh)
README
# RainyRefreshControl
[![Swift 3.0](https://img.shields.io/badge/Swift-3.0-orange.svg?style=flat)](https://developer.apple.com/swift/)
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/RainyRefreshControl.svg)](https://img.shields.io/cocoapods/v/RainyRefreshControl.svg)
[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
[![Platforms iOS](https://img.shields.io/badge/Platforms-iOS-lightgray.svg?style=flat)](https://developer.apple.com/swift/)
[![Xcode 8.0+](https://img.shields.io/badge/Xcode-8.0+-blue.svg?style=flat)](https://developer.apple.com/swift/)Simple refresh control for iOS based on SpriteKit and Core Graphics.
Project inspired by [concept](https://dribbble.com/shots/2242263--1-Pull-to-refresh-Freebie-Weather-Concept) of [Yup Nguyen](https://dribbble.com/yupnguyen)
![capture_umbrella_refresh](gif/umbrella_refresh.gif "capture_umbrella_refresh")
## Installation
### Installation with CocoaPods
To integrate RainyRefreshControl into your Xcode project using CocoaPods, specify it in your `Podfile`:
```ruby
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '9.0'target 'TargetName' do
pod 'RainyRefreshControl'
end
```Then, run the following command:
```bash
$ pod install
```### Installation with Carthage
[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
```bash
$ brew update
$ brew install carthage
```To integrate RainyRefreshControl into your Xcode project using Carthage, specify it in your `Cartfile`:
```ogdl
github "Onix-Systems/RainyRefreshControl"
```Run `carthage update` to build the framework and drag the built `RainyRefreshControl.framework` into your Xcode project.
## Usage
Just import RainyRefreshControl framework into your class and add it to UITableView or UICollectionView:
```swift
let refresh = RainyRefreshControl()
refresh.addTarget(self, action: #selector(ViewController.doRefresh), for: .valueChanged)
tableView.addSubview(refresh)```
## Who's behind this?
[Onix-Systems](https://onix-systems.com) is IT Outsourcing, web design and mobile application development company bringing expert execution, situated in Ukraine.
[](https://onix-systems.com)
## License
RainyRefreshControl is released under the MIT license. See [LICENSE](LICENSE) for details.