iOS-style NSScrollView even when a mouse is attached.
Objective-C Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Demo
RFOverlayScrollView
.gitignore
LICENSE
README.md
RFOverlayScrollView.podspec

README.md

RFOverlayScrollView

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.