{"id":26172082,"url":"https://github.com/tapwork/yourstatusbar","last_synced_at":"2025-04-14T20:21:22.425Z","repository":{"id":29253408,"uuid":"32785864","full_name":"tapwork/YourStatusBar","owner":"tapwork","description":"Customize the iOS StatusBar with any text or your custom UIView","archived":false,"fork":false,"pushed_at":"2017-06-09T12:24:01.000Z","size":53,"stargazers_count":28,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T04:40:48.903Z","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/tapwork.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":"2015-03-24T08:24:57.000Z","updated_at":"2022-02-06T10:06:39.000Z","dependencies_parsed_at":"2022-09-05T15:41:41.768Z","dependency_job_id":null,"html_url":"https://github.com/tapwork/YourStatusBar","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapwork%2FYourStatusBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapwork%2FYourStatusBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapwork%2FYourStatusBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tapwork%2FYourStatusBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tapwork","download_url":"https://codeload.github.com/tapwork/YourStatusBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248952344,"owners_count":21188427,"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":"2025-03-11T19:53:13.105Z","updated_at":"2025-04-14T20:21:22.402Z","avatar_url":"https://github.com/tapwork.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YourStatusBar\n## Customize the statusBar of your iOS app with any text or UIView\n[![Build Status](https://api.travis-ci.org/tapwork/YourStatusBar.svg?style=flat)](https://travis-ci.org/tapwork/YourStatusBar)\n[![CocoaPods Version](http://img.shields.io/cocoapods/v/YourStatusBar.svg?style=flat)](https://github.com/tapwork/YourStatusBar/blob/master/YourStatusBar.podspec)\n[![](http://img.shields.io/cocoapods/l/YourStatusBar.svg?style=flat)](https://github.com/tapwork/YourStatusBar/blob/master/LICENSE.md)\n[![CocoaPods Platform](http://img.shields.io/cocoapods/p/YourStatusBar.svg?style=flat)]()\n[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![Twitter](https://img.shields.io/badge/twitter-@cmenschel-blue.svg?style=flat)](http://twitter.com/cmenschel)\n\nYou always asked yourself why you can't change the text in the iOS statusBar for debug reasons? Or custom UIViews? YourStatusBar tweaks the iOS statusBar to add custom text or views. \nIn big projects I often have the problem to find the right UIViewController class. So I wanted to see the current class name in the statusBar. That is actually the reason why I built this library here. \n\n# Features\n* Set your text to the iOS statusBar\n* Add your custom UIView to the statusBar\n\n# Usage\nPlease make sure that you use YourStatusBar only for **DEBUG** purposes. Not in production mode, because  `UIStatusBarWindow` is private API.\nYou could use `YourStatusBar` to display the current class like\n```\n- (void)viewWillAppear:(BOOL)animated {\n    [super viewWillAppear:animated];\n\n    [TWYourStatusBar setCustomText:NSStringFromClass([self class])];\n}\n```\n\n## Installation\n#### CocoaPods\nAdd it to your Podfile and run `pod install`\n```\npod 'YourStatusBar'\n```\nAnd use `#import \u003cYourStatusBar/TWYourStatusBar.h\u003e`\n\n#### Carthage \nYou can use [Carthage](https://github.com/Carthage/Carthage). \nSpecify in Cartfile:\n\n```ruby\ngithub \"tapwork/YourStatusBar\"\n```\n\n## Change text\n```\n[TWYourStatusBar setCustomText:@\"My custom Text\"];\n```\n\n## Use custom UIView\n```\nUIView *myView = [[UIView alloc] init];\n[TWYourStatusBar setCustomView:myView];\n```\n\n# Example project\nLike always this library comes with an example project.\n\n# References\n* [UIStatusBar](https://github.com/nst/iOS-Runtime-Headers/blob/master/Frameworks/UIKit.framework/UIStatusBar.h) UIKit's private header\n* [UIStatusBarWindow](https://github.com/nst/iOS-Runtime-Headers/blob/master/Frameworks/UIKit.framework/UIStatusBarWindow.h) UIKit's private header\n\n# Thanks\n* [Piet Brauer](https://twitter.com/pietbrauer) thanks for the clean up\n\n# Author\n* [Christian Menschel](http://github.com/tapwork) ([@cmenschel](https://twitter.com/cmenschel))\n\n# License\n[MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftapwork%2Fyourstatusbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftapwork%2Fyourstatusbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftapwork%2Fyourstatusbar/lists"}