{"id":25197849,"url":"https://github.com/douking/navigationtransition","last_synced_at":"2025-05-08T22:03:27.124Z","repository":{"id":62448885,"uuid":"64909761","full_name":"DouKing/NavigationTransition","owner":"DouKing","description":"Customize your navigation transition","archived":false,"fork":false,"pushed_at":"2021-03-11T11:29:12.000Z","size":348,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-18T09:25:13.947Z","etag":null,"topics":["navigationbar","transition","transition-animation"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DouKing.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":"2016-08-04T06:47:54.000Z","updated_at":"2021-04-18T02:47:11.000Z","dependencies_parsed_at":"2022-11-01T23:17:03.633Z","dependency_job_id":null,"html_url":"https://github.com/DouKing/NavigationTransition","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DouKing%2FNavigationTransition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DouKing%2FNavigationTransition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DouKing%2FNavigationTransition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DouKing%2FNavigationTransition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DouKing","download_url":"https://codeload.github.com/DouKing/NavigationTransition/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238044083,"owners_count":19407131,"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":["navigationbar","transition","transition-animation"],"created_at":"2025-02-10T02:20:12.529Z","updated_at":"2025-02-10T02:20:13.496Z","avatar_url":"https://github.com/DouKing.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu)\n[![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE)\n\n# NavigationTransition\n\nSome categories that can be used to customize your navigation transition.\n\n- customize transition animate\n- customize navigation bar when transition\n- support fullscreen interactive pop gesture\n- support Storyboard\n\n## Install\n\nAdd the followwing line to your Podfile:\n\n```\npod 'NavigationTransition'\n```\n\n## Usage\n\nSet the navigationTransitionStyle property for UINavigationController to customize the transition for all view controllers in the navigation.\n\n```\nDemoViewController *vc = [[DemoViewController alloc] init];\nUINavigationController *nav = [[UINavigationController alloc] initWithNavigationBarClass:STMNavigationBar.class toolbarClass:nil];\nnav.viewControllers = @[vc];\nnav.navigationTransitionStyle = STMNavigationTransitionStyleSystem;\n[self presentViewController:nav animated:YES completion:nil];\n\n```\n\nYou can also set the navigationTransitionStyle property for a single UIViewController to customize the only one vc.\n\n```\nDemoViewController *vc = [[DemoViewController alloc] init];\nif (self.navigationController.viewControllers.count == 3) {\n\tvc.navigationTransitionStyle = STMNavigationTransitionStyleResignLeft;\n}\n[self.navigationController pushViewController:vc animated:YES];\n```\n\nAnd you can customize a transition use yourself Class.\n\n```\n- (id\u003cUIViewControllerAnimatedTransitioning\u003e)navigationController:(UINavigationController *)navigationController animationControllerForOperation:(UINavigationControllerOperation)operation fromViewController:(UIViewController *)fromVC toViewController:(UIViewController *)toVC {\n  CustomTransition *transition = [[CustomTransition alloc] init];\n  transition.operation = operation;\n  return transition;\n}\n```\n\n\nDownload the project and see the detail.\n\n## Blog\n\nhttps://douking.github.io/2018/01/01/navigation-transition/\n\n## License\n\nSee file `LICENSE.MIT` and `LICENSE.NPL`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouking%2Fnavigationtransition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdouking%2Fnavigationtransition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouking%2Fnavigationtransition/lists"}