{"id":18270191,"url":"https://github.com/tristanhimmelman/ZoomTransition","last_synced_at":"2025-04-04T23:31:49.281Z","repository":{"id":21530959,"uuid":"24850238","full_name":"tristanhimmelman/ZoomTransition","owner":"tristanhimmelman","description":"Interactive zoom transition for presenting view controllers written in Swift","archived":false,"fork":false,"pushed_at":"2022-06-08T21:10:18.000Z","size":4420,"stargazers_count":273,"open_issues_count":2,"forks_count":29,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-31T17:19:55.471Z","etag":null,"topics":[],"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/tristanhimmelman.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":"2014-10-06T14:53:47.000Z","updated_at":"2025-03-28T07:35:15.000Z","dependencies_parsed_at":"2022-08-21T16:41:20.291Z","dependency_job_id":null,"html_url":"https://github.com/tristanhimmelman/ZoomTransition","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/tristanhimmelman%2FZoomTransition","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristanhimmelman%2FZoomTransition/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristanhimmelman%2FZoomTransition/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tristanhimmelman%2FZoomTransition/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tristanhimmelman","download_url":"https://codeload.github.com/tristanhimmelman/ZoomTransition/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266476,"owners_count":20910831,"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-11-05T11:38:23.713Z","updated_at":"2025-04-04T23:31:47.336Z","avatar_url":"https://github.com/tristanhimmelman.png","language":"Swift","funding_links":[],"categories":["etc"],"sub_categories":[],"readme":"ZoomTransition\n==============\n[![CocoaPods](https://img.shields.io/cocoapods/v/ZoomTransition.svg)](https://github.com/tristanhimmelman/ZoomTransition)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n\nAn easy to use interactive zoom transition for presenting view controllers onto a navigation stack. This transition mimics the iOS 7 \u0026 8 photos app. \n\nZoomTransition supports pinch, rotate and pan gestures while dismissing the presented view controller. \n\n![Screenshot](https://raw.githubusercontent.com/tristanhimmelman/ZoomTransition/master/example.gif)\n\nTo use the transition in your app, simply create a ZoomTransition object by passing in the current NavigationController.\nThen set the ZoomTransition object to be the NavigationControllers delegate\n```swift\nif let navigationController = self.navigationController {\n    self.animationController = ZoomTransition(navigationController: navigationController)\n}\nself.navigationController?.delegate = animationController\n\n// present view controller\nlet imageViewController = ImageViewController(nibName: \"ImageViewController\", bundle: nil)\nself.navigationController?.pushViewController(imageViewController, animated: true)\n```\n\nFinally, you must implement the ZoomTransistionProtocol on both the presenting and the presented view controllers so the ZoomTransition knows which views to transition between\n```swift\nfunc viewForTransition() -\u003e UIView {\n\treturn imageView\n}\n```\n\n#Installation\n\nZoomTransition can be easily added to your project using [CocoaPods](https://cocoapods.org/) by adding the following to your Podfile:\n\n`pod 'ZoomTransition', '~\u003e 0.3'`\n\nOtherwise you can include ZoomTransition.swift directly to your project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftristanhimmelman%2FZoomTransition","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftristanhimmelman%2FZoomTransition","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftristanhimmelman%2FZoomTransition/lists"}