Latest 0.1.4
Homepage https://github.com/djangolee/JoRefresh
License MIT
Platforms ios 8.0, requires ARC
Authors

License MIT
Build Status
CocoaPods
Support
Language

Installation

CocoaPods

  1. Add pod 'JoRefresh' to your Podfile.
  2. Run pod install or pod update.
  3. Import JoRefresh

Usage

Init

  let scrollView = ...
  scrollView.joRefresh.header = JoRefreshControl()
  scrollView.joRefresh.footer = JoRefreshControl()
  scrollView.joRefresh.tailer = JoRefreshControl()
  scrollView.joRefresh.footerActiveMode = .toBottom

AddTarget

  scrollView.joRefresh.header?.addTarget(self, action: #selector(loadData), for: .valueChanged)
  scrollView.joRefresh.footer?.addTarget(self, action: #selector(moreData), for: .valueChanged)

Latest podspec

{
    "name": "JoRefresh",
    "summary": "A iOS UI components.",
    "version": "0.1.4",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "django": "[email protected]"
    },
    "homepage": "https://github.com/djangolee/JoRefresh",
    "source": {
        "git": "https://github.com/djangolee/JoRefresh.git",
        "tag": "0.1.4"
    },
    "requires_arc": true,
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "Source/**/*.{swift}",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This