Latest 0.1.0
Homepage https://github.com/satoshin2071/SwiftyVerticalScrollBar
License MIT
Platforms ios 8.0, requires ARC
Authors

A custom scrollbar for a UIScrollView or UIScrollView’s subclasses. This is a re-write WKVerticalScrollBar in Swift

CI Status
Version
License
Platform

Requirements

Swift 2.2

Installation

SwiftyVerticalScrollBar is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "SwiftyVerticalScrollBar"

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Example

DemoViewController.swift

override func viewDidLoad() {
        super.viewDidLoad()

        self.scrollBar = SwiftyVerticalScrollBar(frame: CGRectZero, targetScrollView: self.tableView)
        self.view.addSubview(self.scrollBar!)
}

override func viewDidLayoutSubviews() {
        super.viewDidLayoutSubviews()

        self.scrollBar.frame = CGRectMake(0, 0, self.view.bounds.size.width, self.view.bounds.size.height)
}

License

SwiftyVerticalScrollBar is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SwiftyVerticalScrollBar",
    "version": "0.1.0",
    "summary": "A custom scrollbar for a UIScrollView or UIScrollView's subclasses.",
    "description": "A custom scrollbar for a UIScrollView or UIScrollView's subclasses.nThis is a re-write WKVerticalScrollBar in Swift.",
    "homepage": "https://github.com/satoshin2071/SwiftyVerticalScrollBar",
    "license": "MIT",
    "authors": {
        "satoshin2071": ""
    },
    "source": {
        "git": "https://github.com/satoshin2071/SwiftyVerticalScrollBar.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "SwiftyVerticalScrollBar": [
            "Pod/Assets/*.png"
        ]
    }
}

Pin It on Pinterest

Share This