Skip to content
项目

Onix-Systems/RainyRefreshControl

在 GitHub 查看

关于

基于 SpriteKit 和 Core Graphics 的简易 iOS 刷新控件

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

RainyRefreshControl

Swift 3.0 CocoaPods Compatible Carthage Compatible Platforms iOS Xcode 8.0+

Simple refresh control for iOS based on SpriteKit and Core Graphics.

Project inspired by concept of Yup Nguyen

capture_umbrella_refresh

Installation

Installation with CocoaPods

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

Installation with Carthage

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.

Usage

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)

Who's behind this?

Onix-Systems is IT Outsourcing, web design and mobile application development company bringing expert execution, situated in Ukraine.

License

RainyRefreshControl is released under the MIT license. See LICENSE for details.

探索相关项目

加载中…