{"id":19856990,"url":"https://github.com/johnvuko/jtmaterialtransition","last_synced_at":"2025-12-12T06:22:58.079Z","repository":{"id":30985949,"uuid":"34544262","full_name":"johnvuko/JTMaterialTransition","owner":"johnvuko","description":"An iOS transition for controllers based on material design.","archived":false,"fork":false,"pushed_at":"2019-01-17T16:45:55.000Z","size":401,"stargazers_count":960,"open_issues_count":0,"forks_count":87,"subscribers_count":29,"default_branch":"master","last_synced_at":"2024-11-29T17:45:26.444Z","etag":null,"topics":["ios","ios-transition","material","material-design","swift","transition"],"latest_commit_sha":null,"homepage":"","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/johnvuko.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-04-24T22:06:50.000Z","updated_at":"2024-10-25T02:28:04.000Z","dependencies_parsed_at":"2022-08-21T03:50:45.379Z","dependency_job_id":null,"html_url":"https://github.com/johnvuko/JTMaterialTransition","commit_stats":null,"previous_names":["johnvuko/jtmaterialtransition","jonathantribouharet/jtmaterialtransition"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2FJTMaterialTransition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2FJTMaterialTransition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2FJTMaterialTransition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2FJTMaterialTransition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnvuko","download_url":"https://codeload.github.com/johnvuko/JTMaterialTransition/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247174423,"owners_count":20896078,"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":["ios","ios-transition","material","material-design","swift","transition"],"created_at":"2024-11-12T14:17:09.184Z","updated_at":"2025-12-12T06:22:53.055Z","avatar_url":"https://github.com/johnvuko.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JTMaterialTransition\n\n[![CI Status](http://img.shields.io/travis/jonathantribouharet/JTMaterialTransition.svg)](https://travis-ci.org/jonathantribouharet/JTMaterialTransition)\n![Version](https://img.shields.io/cocoapods/v/JTMaterialTransition.svg)\n![License](https://img.shields.io/cocoapods/l/JTMaterialTransition.svg)\n![Platform](https://img.shields.io/cocoapods/p/JTMaterialTransition.svg)\n\nAn iOS transition for controllers based on material design.\n\n## Installation\n\nWith [CocoaPods](http://cocoapods.org/), add this line to your Podfile.\n\n    pod 'JTMaterialTransition', '~\u003e 2.0'\n\n## Screenshots\n\n![Example](./Screens/example.gif \"Example View\")\n\n## Usage\n\n### Basic usage\n\n```swift\nimport UIKit\nimport JTMaterialTransition\n\nclass ViewController: UIViewController {\n\n    weak var presentControllerButton: UIButton?\n    var transition: JTMaterialTransition?\n\n    override func viewDidLoad() {\n        super.viewDidLoad()\n        \n        self.transition = JTMaterialTransition(animatedView: self.presentControllerButton)\n    }\n    \n    func didPresentControllerButtonTouch () {\n        let controller = SecondViewController()\n        \n        controller.modalPresentationStyle = .custom\n        controller.transitioningDelegate = self.transition\n        \n        self.present(controller, animated: true, completion: nil)\n    }\n\n}\n```\n\n## Notes\n\nThe `animatedView` is not directly used, a new view is created based on the `frame`, `backgroundColor` properties for the animation.\nIf you don't want to provide a view, you have to set `startFrame` and `startBackgroundColor` properties and call `init` instead of `initWithAnimatedView:`.\n\n`startFrame` must be the coordinates relative to the window:\n\n    var startFrame = animatedView.superview?.convert(animatedView.frame, to: nil)\n\n## Warning\n\nThe controller presented must have a `backgroundColor` else the effect can be a little strange. If you use a `UINavigationController` or another container don't forget to set the `backgroundColor` with `controllerPresented.view.backgroundColor = UIColor.yourColor`.\n\n## Requirements\n\n- iOS 8.0 or higher\n- Swift 4.2\n\n## Author\n\n- [Jonathan VUKOVICH TRIBOUHARET](https://github.com/jonathantribouharet) ([@johnvuko](https://twitter.com/johnvuko))\n\n## License\n\nJTMaterialTransition is released under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fjtmaterialtransition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnvuko%2Fjtmaterialtransition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fjtmaterialtransition/lists"}