Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Core Animations based slider view for OS X.
Objective-C Ruby
branch: master

Merge pull request #3 from tualatrix/master

Add support for mouse scrolling horizontally from left or right
latest commit 7955ef81b6
@hohl authored


MIHSliderView is a Core Animation slider view for OS X. Any subclass of NSView can be displayed as a slide and integration into your project is as easy as using any other view since it is just a single file NSView subclass.

After you have added the slider view with the Interface Builder you can add slides to it as easy as the following lines of code:

NSImageView *imageView1 = [[[NSImageView alloc] init] autorelease];
[imageView1 setImage:[NSImage imageNamed:@"MySlide1.png"]];
[self.sliderView addSlide:imageView1];

NSImageView *imageView2 = [[[NSImageView alloc] init] autorelease];
[imageView2 setImage:[NSImage imageNamed:@"MySlide2.png"]];
[self.sliderView addSlide:imageView2];

// ...

How To Get Started

You either can drag & drop the MIHSliderView.h and MIHSliderView.m into your project or use CocoaPods to add the dependency. If you choose the drag & drop solution you have to link your application against the QuartzCore.framework.

For details on how to use the MIHSliderView have a look at the interface deceleration and read the comments.

What It Can Look In Production Use

Attention: The following image is from closed source project which uses the MIHSliderView component and the images and source codes of this project are not contained by the MIHSliderView project and license!

MIHSliderView Sample Usage

Something went wrong with that request. Please try again.