Skip to content

bertrand-caron/RFOverlayScrollView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

iOS-style NSScrollView even when a mouse is attached.

Resources

License

Stars

Watchers

Forks

Packages

No packages published