{"id":18270137,"url":"https://github.com/antongaenko/UINavigationItem-Loading","last_synced_at":"2025-04-04T23:31:44.526Z","repository":{"id":25655408,"uuid":"29090860","full_name":"antongaenko/UINavigationItem-Loading","owner":"antongaenko","description":"Simple category to show a loading status in a navigation bar in place of left/right items or title.","archived":false,"fork":false,"pushed_at":"2015-02-01T07:12:40.000Z","size":169,"stargazers_count":208,"open_issues_count":1,"forks_count":20,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-03T17:39:03.502Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://goo.gl/i4kyFi","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/antongaenko.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":"2015-01-11T12:24:02.000Z","updated_at":"2025-01-19T04:35:11.000Z","dependencies_parsed_at":"2022-08-21T05:20:24.619Z","dependency_job_id":null,"html_url":"https://github.com/antongaenko/UINavigationItem-Loading","commit_stats":null,"previous_names":["just-/uinavigationitem-loading"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antongaenko%2FUINavigationItem-Loading","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antongaenko%2FUINavigationItem-Loading/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antongaenko%2FUINavigationItem-Loading/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antongaenko%2FUINavigationItem-Loading/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antongaenko","download_url":"https://codeload.github.com/antongaenko/UINavigationItem-Loading/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266476,"owners_count":20910831,"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:20.199Z","updated_at":"2025-04-04T23:31:44.151Z","avatar_url":"https://github.com/antongaenko.png","language":"Objective-C","readme":"UINavigationItem-Loading\n==================================\n![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)\n\nEasy way to show loading/uploading status for user in a navigation bar.\n\n## Introduction\nWith needing of this pattern again I decide to make this category. So here it is, with just few methods and fully customized in color.\n\n## Demo\n![NavigationBarLoaderDemo](https://raw.githubusercontent.com/Just-/demo/master/bar_loader_demo.gif)\n\nor build it yourself \n\n`pod try UINavigationItem+Loading`\n\n## Usage\n\nJust import this category in your view controller (which is embed in UINavigationController).\n\n`#import \u003cUINavigationItem+Loading.h\u003e`\n\nWhen you need to show loading status just call\n\n`[self.navigationItem startAnimatingAt:ANNavBarLoaderPositionCenter];`\n\nLeft, right and center position are available. So you can also use `ANNavBarLoaderPositionLeft` or `ANNavBarLoaderPositionRight` for loader position.\nWhen you need to stop it nothing can be more simple as\n\n`[self.navigationItem stopAnimating];`\n\nThat’s all! \n\nTo customize color for loader just set it with appearance proxy like this\n\n`[UIActivityIndicatorView appearanceWhenContainedIn:[UINavigationBar class], nil].color = [UIColor blackColor];`\n\n## Installation\n\nAdd the following to your [CocoaPods](http://cocoapods.org/) Podfile\n\n`pod 'UINavigationItem+Loading', '~\u003e 1.1'`\n\nor clone it as a git submodule,\n\nor just copy files\n\n## License\n\nAll this code is available under the MIT license.\n\n## Contact\n\nFollow me on [Twitter](https://twitter.com/Anton_Gaenko) or [Github](https://github.com/Just-)\n\n## More sources\n\nYou can be also interested to simplify your work with iOS keyboard [UIViewController-KeyboardAnimation](https://github.com/Just-/UIViewController-KeyboardAnimation)\n","funding_links":[],"categories":["etc"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantongaenko%2FUINavigationItem-Loading","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantongaenko%2FUINavigationItem-Loading","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantongaenko%2FUINavigationItem-Loading/lists"}