Skip to content

chucklab/CMSlider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMSlider

A collection of draggable controls, have fun.

Screenshot_01-w100 Screenshot_02-w100 Screenshot_03-w100 Screenshot_04-w100

LineSliderDemo-w100

TraingleSliderDemo-w100

CircleSliderDemo-w100

Installation

Cocoapods:

  1. Add pod 'CMSlider', '~> 0.0.1' to your Podfile.
  2. Run pod install or pod update.

Usage

#import <CMLineSlider.h>
#import <CMTriangleSlider.h>
#import <CMCircleSlider.h>

self.lineSlider = [[CMLineSlider alloc] init];
[self.lineSlider addTarget:self action:@selector(lineSliderValueChanged:) forControlEvents:UIControlEventValueChanged];

self.triangleSlider = [[CMTriangleSlider alloc] init];
[self.triangleSlider addTarget:self action:@selector(triangleSliderValueChanged:) forControlEvents:UIControlEventValueChanged];

self.circleSlider = [[CMCircleSlider alloc] init];
[self.circleSlider addTarget:self action:@selector(circleSliderValueChanged:) forControlEvents:UIControlEventValueChanged];

Requirements

This library requires a deployment target of iOS 6.0 or greater.

LICENSE

CMSlider is provided under the MIT license. See LICENSE file for details.

About

A collection of draggable controls, kinds of sliders, have fun.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors