{"id":18270537,"url":"https://github.com/ohsc/SCPageScrubberBar","last_synced_at":"2025-04-05T01:30:41.609Z","repository":{"id":6234500,"uuid":"7466178","full_name":"ohsc/SCPageScrubberBar","owner":"ohsc","description":"A page scrubber bar like ibooks.","archived":true,"fork":false,"pushed_at":"2014-01-06T09:13:26.000Z","size":224,"stargazers_count":288,"open_issues_count":6,"forks_count":23,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-04-02T20:39:08.186Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ohsc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-06T09:30:44.000Z","updated_at":"2025-01-21T03:59:07.000Z","dependencies_parsed_at":"2022-09-22T14:24:39.006Z","dependency_job_id":null,"html_url":"https://github.com/ohsc/SCPageScrubberBar","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohsc%2FSCPageScrubberBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohsc%2FSCPageScrubberBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohsc%2FSCPageScrubberBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohsc%2FSCPageScrubberBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohsc","download_url":"https://codeload.github.com/ohsc/SCPageScrubberBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276022,"owners_count":20912285,"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":[],"created_at":"2024-11-05T11:38:42.183Z","updated_at":"2025-04-05T01:30:41.243Z","avatar_url":"https://github.com/ohsc.png","language":"Objective-C","readme":"# SCPageScrubberBar\n\nSCPageScrubberBar is a page scrubber bar like ibooks.\nSCPageScrubberBar works with iOS5.0+ and ARC.\n\nScreenshot:\n\n\u003cimg src=\"https://raw.github.com/ohsc/SCPageScrubberBar/master/Resources/scrubber_bar.png\" /\u003e \u0026nbsp;\n\u003cimg src=\"https://raw.github.com/ohsc/SCPageScrubberBar/master/Resources/scrubber_bar_drag.png\" /\u003e \u0026nbsp;\n\u003cimg src=\"https://raw.github.com/ohsc/SCPageScrubberBar/master/Resources/scrubber_bar_drag_popover.png\" /\u003e\n\n## Getting Started\n\n### Manually\n\n1. Download the source from [here](https://github.com/ohsc/SCPageScrubberBar/archive/master.zip)\n2. Add all under `SCPageScrubberBar/SCPageScrubberBar` to your project\n3. Add `QuartzCore.framework` to your project\n4. Add `#import \"SCPageScrubberBar.h\"` before using it\n\n### CocoaPods\n\nAdd SCPageScrubberBar to your `Podfile` and `pod install`.\n\n```ruby\npod 'SCPageScrubberBar', '~\u003e 0.0.1'\n```\n## Example Usage\n\n### Basic\n\n```objc\nSCPageScrubberBar *scrubberBar = [[SCPageScrubberBar alloc] initWithFrame:CGRectMake(20.0f, 400.0f, 280.0f, 30.0f)];\nscrubberBar.delegate = self;\nscrubberBar.minimumValue = 0;\nscrubberBar.maximumValue = 100;\nscrubberBar.isPopoverMode = (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad);\n[self.view addSubview:scrubberBar];\n```\n\n### SCPageScrubberBarDelegate\n\n```objc\n@required\n// Return the text of main titleLabel\n- (NSString*)scrubberBar:(SCPageScrubberBar*)scrubberBar titleTextForValue:(CGFloat)value;\n// Return the text of sub titleLabel\n- (NSString*)scrubberBar:(SCPageScrubberBar*)scrubberBar subtitleTextForValue:(CGFloat)value;\n@optional\n// This method will be called when a page is selected\n- (void)scrubberBar:(SCPageScrubberBar*)scrubberBar valueSelected:(CGFloat)value;\n```\n\n### Properties\n\n```objc\n// The delegate\n@property (nonatomic, weak) id \u003cSCPageScrubberBarDelegate\u003e delegate;\n// Default value is NO\n@property (nonatomic, assign) BOOL alwaysShowTitleView;\n// Default value is NO\n@property (nonatomic, assign) BOOL isPopoverMode;\n```\n\n## LICENSE\nCopyright (c) 2013 Chao Shen. This software is licensed under the BSD License.\n\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/ohsc/scpagescrubberbar/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohsc%2FSCPageScrubberBar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohsc%2FSCPageScrubberBar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohsc%2FSCPageScrubberBar/lists"}