{"id":15037539,"url":"https://github.com/ppth0608/bpcircleactivityindicator","last_synced_at":"2025-04-09T23:24:21.484Z","repository":{"id":56903120,"uuid":"88391503","full_name":"ppth0608/BPCircleActivityIndicator","owner":"ppth0608","description":" A lightweight and awesome loading Activity Indicator for your iOS app.","archived":false,"fork":false,"pushed_at":"2017-04-24T15:02:22.000Z","size":27,"stargazers_count":46,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-08T04:19:05.721Z","etag":null,"topics":["activityindicator","animation","cocoapods","interval","ios","loading-spinner","loadingview","storyboard","storyboard-setup","swift","swift3","ui"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/ppth0608.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-04-16T04:42:54.000Z","updated_at":"2022-08-12T04:18:41.000Z","dependencies_parsed_at":"2022-08-20T18:50:56.135Z","dependency_job_id":null,"html_url":"https://github.com/ppth0608/BPCircleActivityIndicator","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/ppth0608%2FBPCircleActivityIndicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppth0608%2FBPCircleActivityIndicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppth0608%2FBPCircleActivityIndicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ppth0608%2FBPCircleActivityIndicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ppth0608","download_url":"https://codeload.github.com/ppth0608/BPCircleActivityIndicator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248127173,"owners_count":21052199,"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":["activityindicator","animation","cocoapods","interval","ios","loading-spinner","loadingview","storyboard","storyboard-setup","swift","swift3","ui"],"created_at":"2024-09-24T20:34:57.225Z","updated_at":"2025-04-09T23:24:21.460Z","avatar_url":"https://github.com/ppth0608.png","language":"Swift","readme":"# BPCircleActivityIndicator\n\n**BPCircleActivityIndicator** is a clean and easy-to-use Activity Indicator meant to display the progress of an ongoing task on iOS. \u003c/br\u003e\n\n## Demo (no_interval, interval)\n\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/9531750/25071759/6a8b115c-22fa-11e7-8264-ef1db45357ef.gif\" width=\"320\" height=\"590\" /\u003e \u003cimg src=\"https://cloud.githubusercontent.com/assets/9531750/25071758/65e635b4-22fa-11e7-8b40-2b7d82a2ecbf.gif\" width=\"320\" height=\"590\" /\u003e\n\n## Requirements\n - Deployment Target - `iOS 8.0`\n - Swift Version - `Swift 3.1`\n\n## Installation\n\n### CocoaPods\nBPCircleActivityIndicator is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"BPCircleActivityIndicator\"\n```\n\n### Carthage\nsimply add the following line to your Cartfile:\n\n``` ruby\ngithub \"ppth0608/BPCircleActivityIndicator\"\n```\n\n### Manual\nCopy the folder `Source/` to your project\n\n## Usage\nUsing BPCircleActivityIndicator isn't difficult at all. There are two actual ways of implementing it in your project:\n- Storyboard setup\n- Manual setup\n\n### Storyboard Setup\nFirst, you're about to add 1 UIViews to your Storyboard and setup custom classes (You can set custom classes in **Identity Inspector**) as it shown in the picture below\n\n(When you set custom class **BPCircleActivityIndicator**, you can see how view looks like cuz **@IBDesignable**)\n\n\u003cimg src=\"https://cloud.githubusercontent.com/assets/9531750/25071753/416ae61c-22fa-11e7-90cd-92a5043ed10c.png\" width=\"1000\" height=\"650\" /\u003e\n\nand, add Outlet in to your code\n```Swift\n@IBOutlet weak var circleIndicator: BPCircleActivityIndicator!\n```\n\n### Menual setup\nif for some reason you'd like to setup **BPCircleActivityIndicator** manually you have to do the following step\n```Swift\nvar circleIndicator: BPCircleActivityIndicator!\n    \noverride func viewDidLoad() {\n    super.viewDidLoad()\n    circleIndicator = BPCircleActivityIndicator(frame: CGRect(x: 0, y: 0, width: 30, height: 30))\n    view.addSubview(circleIndicator)\n}\n```\n\n### Animate \u0026 Stop\nYou can easily animate and stop animation\n```Swift\n@IBAction func startButtonTapped(sender: UIButton) {\n    circleIndicator.animate()\n}\n    \n@IBAction func stopButtonTapped(sender: UIButton) {\n    circleIndicator.stop()\n}\n```\n\n### Customize\nif you want to setup rotate speed or interval, you can call methods as it shown in the code below (Custom color is not suppoerted yet)\n```Swift\n@IBAction func startButtonTapped(sender: UIButton) {\n    circleIndicator\n        .rotateSpeed(0.6)\n        .interval(0.3)\n        .animate()\n}\n```\n\nDefault setting is shown in below\n - Rotate Speed : 0.6\n - Interval : 0.3\n\n## TODO\n - [ ]  Custom Color Support\n\n## Author\n\nBen.Park, ppth0608@naver.com\n\n## Designed By\n\nSuna.Shin, tjsdk2309@gmail.com\n\n## Contribute\n\nalways welcome :)\nplease, pull request for **BPCircleActivityIndicator**\n\n## License\n\nBPCircleActivityIndicator is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppth0608%2Fbpcircleactivityindicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fppth0608%2Fbpcircleactivityindicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fppth0608%2Fbpcircleactivityindicator/lists"}