{"id":32310517,"url":"https://github.com/geroembser/advancednavigationcontroller","last_synced_at":"2025-10-23T08:52:22.903Z","repository":{"id":56901620,"uuid":"145759329","full_name":"geroembser/AdvancedNavigationController","owner":"geroembser","description":"A not yet far advanced UINavigationController subclass with additional features that may help in some situations.","archived":false,"fork":false,"pushed_at":"2023-07-23T19:32:24.000Z","size":651,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-10T04:33:42.694Z","etag":null,"topics":["ios12","swift","swift4-2","uinavigationcontroller"],"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/geroembser.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":"2018-08-22T20:28:03.000Z","updated_at":"2023-07-23T19:32:27.000Z","dependencies_parsed_at":"2022-08-21T01:50:38.127Z","dependency_job_id":null,"html_url":"https://github.com/geroembser/AdvancedNavigationController","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/geroembser/AdvancedNavigationController","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geroembser%2FAdvancedNavigationController","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geroembser%2FAdvancedNavigationController/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geroembser%2FAdvancedNavigationController/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geroembser%2FAdvancedNavigationController/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geroembser","download_url":"https://codeload.github.com/geroembser/AdvancedNavigationController/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geroembser%2FAdvancedNavigationController/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280591290,"owners_count":26356542,"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","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ios12","swift","swift4-2","uinavigationcontroller"],"created_at":"2025-10-23T08:52:20.509Z","updated_at":"2025-10-23T08:52:22.896Z","avatar_url":"https://github.com/geroembser.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  AdvancedNavigationController\n\n## Installation\n\nPreferred installation is using [CocoaPods](https://cocoapods.org).\n\nTo Integrate the `AdvancedNavigationController` into your project using CocoaPods, specify it in your  `Podfile`:\n```\npod 'AdvancedNavigationController'\n```\n\n## Usage\nFor an example, see the [sample project](Example) included in this repo.\n\n```\n//Create instance and use it\nlet nc = AdvancedNavigationController()\n\nlet willShowEventHandler = nc.add(willShowEventAction: { (showingViewController) in\n    //do something with the ViewController that is about to go on screen (but not yet finally visible until didShow occurred)\n})\n\nlet didShowEventHandler = nc.add(didShowEventAction: { (showedViewController) in\n    //do something with the ViewController that was shown (i. e. now visible on screen)\n})\n\nlet willPopEventHandler = nc.add(willPopEventAction: { (poppingViewController) in\n    //do something with the ViewController that is about to popped from screen\n    //Note: it is possible that popping is interrupted (e.g. by interactive swipe back)\n})\n\nlet didPopEventHandler = nc.add(didPopEventAction: { (poppedViewController) in\n    //do something with the ViewController that was popped from screen\n})\n\n//Note: we use `_` (underscore) here to discard the result, because for the whole lifetime of the `nc` instance, we're interested in doing a specific action when pushing occurs\n_ = nc.add(willPushEventAction: { (pushingViewController) in\n    //do something with the ViewController that is about to be pushed on screen\n})\n_ = nc.add(didPushEventAction: { (pushedViewController) in\n    //do something with the ViewController that was pushed on screen\n})\n\n//after a specific event, we can remove the added event handlers, to no longer perform the specified actions\nnc.remove(eventHandlers:[willShowEventHandler, willPopEventHandler])\n```\n\n## Example\nThis is the example app...\n![example app animated gif](.github/AdvancedNavigationController%20Example%20Video.gif)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeroembser%2Fadvancednavigationcontroller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeroembser%2Fadvancednavigationcontroller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeroembser%2Fadvancednavigationcontroller/lists"}