Latest0.3
Homepagehttps://github.com/rheinfabrik/RFOverlayScrollView
LicenseMIT
Platformsosx 10.8, requires ARC
Authors,

RFOverlayScrollView is an NSScrollView subclass that shows its NSScroller in iOS style even when a mouse is attached.

Screenshot

It does little changes to the NSScroller itself to make sure default behaviors like

  • dragging too far
  • scroller gets darker when the mouse is over the scroller
  • scroller gets wider when scrolling with the trackpad and the mouse is over the scroller

stay as intended.

Installation

CocoaPods (Recommended)

You know how to use CocoaPods, right?

Manual

  • Drag the RFOverlayScrollView/RFOverlayScrollView folder into your project

Usage

Interface Builder

  • Change the class of your scroll view to RFOverlayScrollView

RFOverlayScrollView Screenshot

  • Change the class of the vertical slider to RFOverlayScroller

RFOlverScroller Screenshot

Limitations

Currently, only vertical sliders are supported.

Credits

RFOverlayScrollView is brought to you by Rheinfabrik.

Latest podspec

{
    "name": "RFOverlayScrollView",
    "version": "0.3",
    "platforms": {
        "osx": "10.8"
    },
    "license": "MIT",
    "summary": "Overlay style NSScrollView even when a mouse is attached.",
    "homepage": "https://github.com/rheinfabrik/RFOverlayScrollView",
    "authors": {
        "Tim Bru00fcckmann": "[email protected]",
        "Christian Hoffmann": "[email protected]"
    },
    "source": {
        "git": "https://github.com/rheinfabrik/RFOverlayScrollView.git",
        "tag": "0.3"
    },
    "source_files": "RFOverlayScrollView/*.{h,m}",
    "preserve_paths": "Demo",
    "requires_arc": true
}

Pin It on Pinterest

Share This