{"id":17991731,"url":"https://github.com/frankdilo/fdstatusbarnotifierview","last_synced_at":"2025-10-29T02:31:26.752Z","repository":{"id":4562708,"uuid":"5703876","full_name":"frankdilo/FDStatusBarNotifierView","owner":"frankdilo","description":"A notifier view for iOS that resides in the status bar.","archived":false,"fork":false,"pushed_at":"2014-10-04T22:30:22.000Z","size":406,"stargazers_count":263,"open_issues_count":1,"forks_count":41,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-02-06T11:18:34.295Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/frankdilo.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":"2012-09-06T15:00:55.000Z","updated_at":"2023-12-22T13:10:21.000Z","dependencies_parsed_at":"2022-08-06T17:00:44.044Z","dependency_job_id":null,"html_url":"https://github.com/frankdilo/FDStatusBarNotifierView","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankdilo%2FFDStatusBarNotifierView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankdilo%2FFDStatusBarNotifierView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankdilo%2FFDStatusBarNotifierView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankdilo%2FFDStatusBarNotifierView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frankdilo","download_url":"https://codeload.github.com/frankdilo/FDStatusBarNotifierView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238759719,"owners_count":19525873,"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-29T19:23:57.108Z","updated_at":"2025-10-29T02:31:26.395Z","avatar_url":"https://github.com/frankdilo.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"**No more in active development...**\n\n**FDStatusBarNotifierView** is a view that lets you display notifications and messages using the space in which the status bar resides.\n\n![Screenshot](https://github.com/frankdilo/FDStatusBarNotifierView/raw/master/Screenshot.png)\n\n# Usage\n\nIt’s as easy to use as `UIAlertView`, here is an example:\n\n\t// from a view controller\n\tFDStatusBarNotifierView *notifierView = [[FDStatusBarNotifierView alloc] initWithMessage:@\"Hello!\"];\n\tnotifierView.timeOnScreen = 3.0; // by default it's 2 seconds\n\t[notifierView showInWindow:self.view.window];\n\t\n\t// or from a view controller with a navigation bar\n\t[notifierView showAboveNavigationController:self.navigationController];\n\n\n\nWhen you call `showInWindow:` the status bar disappear and the notifier view takes its place with a smooth animation.\n\n# Installation\n\nThe easiest way to install this component is via [CocoaPods](http://cocoapods.org/).\n\nAdd the following line to your `podfile`:\n\n\tpod 'FDStatusBarNotifierView'\n\nThen run the `pod install` command and import `FDStatusBarNotifierView.h` where you plan to use the notifier view.\n\nYou can also install this manually. Just drag `FDStatusBarNotifierView.h` and `FDStatusBarNotifierView.m` in your project and import the `.h` file where you want to use this component.\n\n# Advanced usage\n\n## Manually hide\n\nIn some circumstances (e.g. informing the user of network activities), you may want to manually hide the component.\n\nTo do so just set the `manuallyHide` property to `YES`. Then hide calling the `hide` method.\n\n    notifierView.manuallyHide = YES;\n    \n    // do some stuff\n    \n    [notifierView hide];\n\n\n## Hide on tap\n\nIf you set the `shouldHideOnTap` property to `YES` when the user taps the message it will be hidden.\n\n## Scrolling message\n\nIf the message you want to display doesn’t fit in the status bar it will be animated and scroll horizontally to display the full text.\n\n## Delegate methods\n\nI've also created some handy *self-explanatory* delegate methods, if you need them.\n\n\t- (void)willPresentNotifierView:(FDStatusBarNotifierView *)notifierView;  // before animation and showing view\n\t- (void)didPresentNotifierView:(FDStatusBarNotifierView *)notifierView;   // after animation\n\t- (void)willHideNotifierView:(FDStatusBarNotifierView *)notifierView;     // before hiding animation\n\t- (void)didHideNotifierView:(FDStatusBarNotifierView *)notifierView;      // after animation\n\t- (void)notifierViewTapped:(FDStatusBarNotifierView *)notifierView;       // user tap the status bar message\n\n# Contribute\n\nFeel free to help out by sending pull requests or by creating new issues.\n\n## TO DO \n\n- Add support for multiple orientations (currently only portrait is supported).\n- Properly manage the animation queue, to avoid unexpected behavior when `showInWindow:` is called multiple times.\n\n## Contributors\n- [ZachOrr](https://github.com/ZachOrr): iPad support, hide on tap, better handling of device’s screen sizes.\n- [dbsGen](https://github.com/dbsGen): if the message to display doesn’t fit in the status bar, it will scroll horizontally.\n- [Luca Bernardi](https://github.com/lukabernardi): CocoaPods support, manual hiding.\n- [Stephen Williams](https://github.com/onato): iOS 7 support and more\n\n# License\n\nSee the LICENSE file (MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankdilo%2Ffdstatusbarnotifierview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrankdilo%2Ffdstatusbarnotifierview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankdilo%2Ffdstatusbarnotifierview/lists"}