{"id":17146196,"url":"https://github.com/inamiy/yidragscrollbar","last_synced_at":"2025-08-09T23:06:29.375Z","repository":{"id":8002569,"uuid":"9410171","full_name":"inamiy/YIDragScrollBar","owner":"inamiy","description":"Attaches draggable scroll bar on top of original UIScrollView for iOS5+, works like a drug.","archived":false,"fork":false,"pushed_at":"2014-05-02T06:50:17.000Z","size":275,"stargazers_count":37,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-19T07:40:56.898Z","etag":null,"topics":[],"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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inamiy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-13T07:18:42.000Z","updated_at":"2019-08-08T18:04:15.000Z","dependencies_parsed_at":"2022-07-29T10:39:46.725Z","dependency_job_id":null,"html_url":"https://github.com/inamiy/YIDragScrollBar","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/inamiy/YIDragScrollBar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inamiy%2FYIDragScrollBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inamiy%2FYIDragScrollBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inamiy%2FYIDragScrollBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inamiy%2FYIDragScrollBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inamiy","download_url":"https://codeload.github.com/inamiy/YIDragScrollBar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inamiy%2FYIDragScrollBar/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269649848,"owners_count":24453541,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-14T21:08:04.678Z","updated_at":"2025-08-09T23:06:29.353Z","avatar_url":"https://github.com/inamiy.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"YIDragScrollBar 1.2.0\n=====================\n\nAttaches draggable scroll bar on top of original UIScrollView for iOS5+, works like a drug.\n\n\u003cimg src=\"https://raw.github.com/inamiy/YIDragScrollBar/master/Screenshots/screenshot1.png\" alt=\"ScreenShot1\" width=\"225px\" style=\"width:225px;\" /\u003e\n\n- `YIDragScrollBar` uses [JRSwizzle](https://github.com/rentzsch/jrswizzle/) to extend `UIScrollView`'s functionality, and does not use any private APIs. \n- Installed UIScrollView subclass will add another dragging-scrollIndicator on top of it and temporarily hides original-scrollIndicator while dragging.\n- Several application tests have been passed including:\n\t- vertical/horizontal dragging\n\t- zooming\n\t- device rotation\n\t- indicatorStyle (black \u0026 white)\n\t- contentInsets/scrollIndicatorInsets\n\t- UIScrollView subclasses (e.g. UITableView, UIWebView, UITextView)\n\t- never intercepts touches while original-scrollIndicator is hidden\n\nInstall via [CocoaPods](http://cocoapods.org/)\n----------\n\n```\npod 'YIDragScrollBar'\n```\n    \nHow to use\n----------\n\nJust import the files, and all set!\n\n```\n#import \"YIDragScrollBar.h\"\n\n...\n\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\n{\n    // set NO to disable dragScrollBar on each scrollView-init. defalut = YES.\n    // [UIScrollView setDefaultDragScrollBarEnabled:NO];\n\n    return YES;\n}\n```\n\nSet `scrollView.dragScrollBarDelegate` to detect dragScrollBar began/ended. \n\n```\n\n- (void)viewDidLoad\n{\n    ...\n\n    self.scrollView.dragScrollBarDelegate = self;\n}\n\n- (void)dragScrollBarWillBeginDragging:(UIScrollView *)scrollView\n{\n    NSLog(@\"dragScrollBar began\");\n}\n\n- (void)dragScrollBarWillEndDragging:(UIScrollView *)scrollView\n{\n    NSLog(@\"dragScrollBar ended\");\n}\n```\n\nLicense\n-------\n`YIDragScrollBar` is available under the [Beerware](http://en.wikipedia.org/wiki/Beerware) license.\n\nIf we meet some day, and you think this stuff is worth it, you can buy me a beer in return.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finamiy%2Fyidragscrollbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finamiy%2Fyidragscrollbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finamiy%2Fyidragscrollbar/lists"}