Latest 1.0.0
Homepage https://github.com/zhoujianshun/ZJSNodeSlider
License MIT
Platforms ios 7.0, requires ARC
Authors

ZJSNodeSlider *slider = [[ZJSNodeSlider alloc] init];
slider.frame = CGRectMake(10, 60, CGRectGetWidth(self.view.frame) – 20, 50);
slider.minValue = 0;
slider.maxValue = 3;
slider.step = YES;
slider.value = 1;
slider.nodeCount = 4;
slider.nodeDiameter = 12;
slider.thumbImage = [UIImage imageNamed:@"icon_device_setting_slider_thumb"];
slider.backgroundColor = [UIColor yellowColor];
[slider addTarget:self action:@selector(sliderValueChangedAction:) forControlEvents:UIControlEventValueChanged];
[self.view addSubview:slider];

Latest podspec

{
    "name": "ZJSNodeSlider",
    "version": "1.0.0",
    "summary": "A slider that can set nodes.",
    "description": "A slider, similar in style to UISlider, but can set nodes.",
    "homepage": "https://github.com/zhoujianshun/ZJSNodeSlider",
    "license": "MIT",
    "authors": {
        "zhoujianshun": "https://github.com/zhoujianshun"
    },
    "source": {
        "git": "https://github.com/zhoujianshun/ZJSNodeSlider.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "ZJSNodeSlider/*.{h,m}"
}

Pin It on Pinterest

Share This