{"id":19968083,"url":"https://github.com/hokein/dockprogressbar","last_synced_at":"2025-05-04T01:30:22.405Z","repository":{"id":20932514,"uuid":"24220731","full_name":"hokein/DockProgressBar","owner":"hokein","description":"Dock progress bar on Mac OS X","archived":false,"fork":false,"pushed_at":"2017-11-12T14:32:00.000Z","size":63,"stargazers_count":22,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-26T02:09:02.725Z","etag":null,"topics":["dock","macos","progressbar"],"latest_commit_sha":null,"homepage":"","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/hokein.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":"2014-09-19T07:35:32.000Z","updated_at":"2024-07-31T10:33:00.000Z","dependencies_parsed_at":"2022-08-17T16:01:25.064Z","dependency_job_id":null,"html_url":"https://github.com/hokein/DockProgressBar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hokein%2FDockProgressBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hokein%2FDockProgressBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hokein%2FDockProgressBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hokein%2FDockProgressBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hokein","download_url":"https://codeload.github.com/hokein/DockProgressBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252276955,"owners_count":21722447,"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":["dock","macos","progressbar"],"created_at":"2024-11-13T02:44:27.571Z","updated_at":"2025-05-04T01:30:21.888Z","avatar_url":"https://github.com/hokein.png","language":"Objective-C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DockProgressBar\n\nDockProgressBar provides different style progress bar on Mac OS X.\nWith it, developers can show dock progress bar in their application without much efforts.\n\n## DockProgressBar Styles\n\nDockProgressBar is designed as singleton, and provides simple APIs for developers: \n\n* `shareXXXProgressBar` : Get a ProgressBar instance.\n* `setProgress` : Set progress value.\n* `updateProgressBar` : Show the ProgressBar.\n* `hideProgressBar`: Hide the ProgressBar.\n* `clear`: remove the ProgressBar in Dock.\n\nBy default, the valid progress range is [0.0, 1.0].  \n\n\nBelow is a usage sample, refer to [AppDelegate.m](https://github.com/hokein/DockProgressBar/blob/master/DockProgressBar/AppDelegate.m)\nfor more details.\n\n```\n// Get a ProgressBar value.\nDockCircularProgressBar* progress_bar =\n    [DockCircularProgressBar sharedDockCircularProgressBar];\n// set progress value\n[progress_bar setProgress:0.3];\n// Show progress bar in dock\n[progress_bar updateProgressBar];\n```\n\n### DockDownloadProgressBar\n\nThe same style likes the original download bar on Mac OS X.\n\n`DockDownloadProgressBar` is a subclass of `NSProgressIndicator`,\nyou can use any base class's method to custom your progress bar.\n\n![]( https://github.com/hokein/DockProgressBar/blob/master/images/download_progress_bar.png)\n\n### DockCircularProgressBar\n\nThe circular style progress bar like Google Chrome download style.\n\n\nCicularProgressBar without percent:\n\n![]( https://github.com/hokein/DockProgressBar/blob/master/images/circular_progress_bar.png)\n\n\nCicularProgressBar with percent:\n\n![]( https://github.com/hokein/DockProgressBar/blob/master/images/circular_progress_bar_with_percent.png)\n\n## License\n\nBSD\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhokein%2Fdockprogressbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhokein%2Fdockprogressbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhokein%2Fdockprogressbar/lists"}