{"id":21408507,"url":"https://github.com/mariobiuuuu/mbscaleplateslider","last_synced_at":"2025-07-14T00:34:17.905Z","repository":{"id":56920202,"uuid":"93029931","full_name":"MarioBiuuuu/MBScaleplateSlider","owner":"MarioBiuuuu","description":"iOS仿标尺 Slider滑动选择器","archived":false,"fork":false,"pushed_at":"2018-01-08T01:45:16.000Z","size":430,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-22T11:49:01.061Z","etag":null,"topics":["ios","objective-c","ruler","scaleplate","slider"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarioBiuuuu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-01T07:37:15.000Z","updated_at":"2020-09-20T10:44:24.000Z","dependencies_parsed_at":"2022-08-20T21:50:20.880Z","dependency_job_id":null,"html_url":"https://github.com/MarioBiuuuu/MBScaleplateSlider","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioBiuuuu%2FMBScaleplateSlider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioBiuuuu%2FMBScaleplateSlider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioBiuuuu%2FMBScaleplateSlider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarioBiuuuu%2FMBScaleplateSlider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarioBiuuuu","download_url":"https://codeload.github.com/MarioBiuuuu/MBScaleplateSlider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225934413,"owners_count":17547740,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ios","objective-c","ruler","scaleplate","slider"],"created_at":"2024-11-22T17:16:05.163Z","updated_at":"2024-11-22T17:16:06.211Z","avatar_url":"https://github.com/MarioBiuuuu.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MBScaleplateSlider\niOS仿标尺 Slider滑动选择器\n    \n使用方法：\n\n1. 使用Cocoapods，在Podfile中添加 `pod ‘MBScaleplateSlider’`， 执行 `pod install`  \n2. 直接将`MBScaleplateSlider.h/m`拖入项目内    \n\n    ```\n    MBScaleplateSlider *slider  = [MBScaleplateSlider sliderWithFrame:CGRectMake(0, 100, self.view.bounds.size.width, 120) minValue:1000 maxValue:2000 step:10 groupMaxNum:10 unit:@\"nian\" hasMiddleLine:YES];\n    \n    slider.delegate = self;\n    slider.tintLineColor = [UIColor redColor];\n    slider.initialAtMiddle = YES;\n        \n    [self.view addSubview:slider];\n    ```  \n\n3. 处理滑动返回值回调\n\n    ``` \n    - (void)MBScaleplateSlider:(MBScaleplateSlider *)slider valueChange:(NSUInteger)value {\n        NSLog(@\"---%@\", @(value));  \n    }\n    ```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariobiuuuu%2Fmbscaleplateslider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmariobiuuuu%2Fmbscaleplateslider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmariobiuuuu%2Fmbscaleplateslider/lists"}