{"id":21374020,"url":"https://github.com/rsimenok/RSSliderView","last_synced_at":"2025-07-13T08:32:09.766Z","repository":{"id":27402509,"uuid":"30879033","full_name":"rsimenok/RSSliderView","owner":"rsimenok","description":"Custom slider based on UIView for iOS","archived":false,"fork":false,"pushed_at":"2021-03-27T17:40:53.000Z","size":212,"stargazers_count":61,"open_issues_count":0,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2023-02-28T02:47:12.032Z","etag":null,"topics":["objective-c","slider","vj","vjing"],"latest_commit_sha":null,"homepage":"","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/rsimenok.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":"2015-02-16T17:19:38.000Z","updated_at":"2023-02-22T07:28:43.000Z","dependencies_parsed_at":"2022-09-02T04:53:45.350Z","dependency_job_id":null,"html_url":"https://github.com/rsimenok/RSSliderView","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsimenok%2FRSSliderView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsimenok%2FRSSliderView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsimenok%2FRSSliderView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rsimenok%2FRSSliderView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rsimenok","download_url":"https://codeload.github.com/rsimenok/RSSliderView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225868582,"owners_count":17537074,"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":["objective-c","slider","vj","vjing"],"created_at":"2024-11-22T08:29:38.630Z","updated_at":"2024-11-22T08:30:07.385Z","avatar_url":"https://github.com/rsimenok.png","language":"Objective-C","funding_links":[],"categories":["OOM-Leaks-Crash"],"sub_categories":["Slider"],"readme":"# RSSliderView\nRSSliderView is a simple control for iOS based on UIView class.\n\nPreview:\n\n\u003cimg src=\"http://i.piccy.info/i9/7755a8dc23dba093e99bbb8dbb63e059/1542282938/26269/1282420/Simulator_Screen_Shot_iPhone_5s_2018_11_15_at_13_51_49.png\" alt=\"Slider preview\" width=\"300\"\u003e\n\n## Create\nRSSliderView is IBDesignable so you can create it in IB or programmatically as you prefer.\n\n``` Objective-C\nRSSliderView *horSlider = [[RSSliderView alloc] initWithFrame:CGRectMake(20, 40, 280, 70)];\nhorSlider.delegate = self;\nhorSlider.backgroundColor = [UIColor colorWithRed:27.0/255.0 green:28.0/255.0 blue:37.0/255.0 alpha:1.0];\nhorSlider.foregroundColor = [UIColor colorWithRed:0.0 green:106.0/255.0 blue:95.0/255.0 alpha:1.0];\nhorSlider.handleColor = [UIColor colorWithRed:0.0 green:205.0/255.0 blue:184.0/255.0 alpha:1.0];\nhorSlider.borderColor = [UIColor colorWithRed:0.0 green:205.0/255.0 blue:184.0/255.0 alpha:1.0];    \nhorSlider.text = @\"Horizontal slider\";\nhorSlider.textColor = [UIColor colorWithRed:0.0 green:205.0/255.0 blue:184.0/255.0 alpha:1.0];\n[self.view addSubview:horSlider];\n```\n\nObserve slider value change via delegate\n``` Objective-C\n- (void)sliderWillChangeValue:(RSSliderView *)sender;\n- (void)sliderDidChangeValue:(RSSliderView *)sender;\n```\n\n## Customize Appearance\n``` Objective-C\n@property (nonatomic, strong) IBInspectable UIColor *backgroundColor;\n@property (nonatomic, strong) IBInspectable UIColor *foregroundColor;\n@property (nonatomic, strong) IBInspectable UIColor *handleColor;\n@property (nonatomic, strong) IBInspectable UIColor *borderColor;\n@property (nonatomic, strong) IBInspectable UIColor *textColor;\n@property (nonatomic, strong) IBInspectable NSString *text;\n@property (nonatomic, strong) IBInspectable UIFont *font;\n@property (nonatomic, assign) IBInspectable CGFloat cornerRadius;\n@property (nonatomic, assign) IBInspectable CGFloat borderWidth;\n@property (nonatomic, assign) IBInspectable CGFloat handleWidth;\n@property (nonatomic, assign) IBInspectable CGFloat onTapAnimationSpeed;\n@property (nonatomic, assign, getter=isHandleHidden) IBInspectable BOOL handleHidden;\n@property (nonatomic, assign) RSSliderViewOrientation orientation;\n```\n\n## License\nRSSliderView is licensed under the terms of the MIT license. Please see the [LICENSE](LICENSE) file for full details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsimenok%2FRSSliderView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frsimenok%2FRSSliderView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frsimenok%2FRSSliderView/lists"}