{"id":15372976,"url":"https://github.com/rs/sdnetworkactivityindicator","last_synced_at":"2026-03-09T12:04:13.897Z","repository":{"id":1098159,"uuid":"957972","full_name":"rs/SDNetworkActivityIndicator","owner":"rs","description":"Handle show/hiding of the iOS network activity indicator","archived":false,"fork":false,"pushed_at":"2014-04-13T18:22:40.000Z","size":132,"stargazers_count":75,"open_issues_count":1,"forks_count":21,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-01T10:42:16.543Z","etag":null,"topics":[],"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/rs.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":"2010-10-03T07:57:05.000Z","updated_at":"2022-08-06T03:50:19.000Z","dependencies_parsed_at":"2022-07-06T08:01:02.501Z","dependency_job_id":null,"html_url":"https://github.com/rs/SDNetworkActivityIndicator","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/rs%2FSDNetworkActivityIndicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rs%2FSDNetworkActivityIndicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rs%2FSDNetworkActivityIndicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rs%2FSDNetworkActivityIndicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rs","download_url":"https://codeload.github.com/rs/SDNetworkActivityIndicator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223673048,"owners_count":17183618,"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-10-01T13:53:51.813Z","updated_at":"2026-03-09T12:04:13.834Z","avatar_url":"https://github.com/rs.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDNetworkActivityIndicator\n\nHandle showing / hiding of the iOS network activity indicator to allow multiple concurrent threads to show / hide the indicator such that the indicator remains visible until all the requests have completed and requested the indicator to be hidden.\n\n## Requirements\n\n* iOS 5.0 or later.\n* ARC memory management.\n\n## Installation\n\nThe easiest way to install it is by copying the following files to your project:\n\n* SDNetworkActivityIndicator.h\n* SDNetworkActivityIndicator.m\n\n## Usage\n\n* When you start a network activity (will show the network activity indicator):\n\n        [[SDNetworkActivityIndicator sharedActivityIndicator] startActivity];\n\n* When you finish a network activity (will hide the network activity indicator only if the number of calls to `stopActivity` matches the number of calls to `startActivity`):\n\n        [[SDNetworkActivityIndicator sharedActivityIndicator] stopActivity];\n\n* To hide the network activity indicator regardless of whether all activities have finished (without having to call `stopActivity` for each `startActivity` called):\n\n        [[SDNetworkActivityIndicator sharedActivityIndicator] stopAllActivity];\n\n\n## License\nCopyright (c) 2010 Olivier Poitrey \u003crs@dailymotion.com\u003e\n \nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is furnished\nto do so, subject to the following conditions:\n \nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n \nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frs%2Fsdnetworkactivityindicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frs%2Fsdnetworkactivityindicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frs%2Fsdnetworkactivityindicator/lists"}