A custom shared-element UIViewController transition implemented in Swift.
This repository contains the complete implementation of Instagram’s image detail transition, as detailed in a two-part article: Part I and Part II. It features a custom push and and an interactive, gesture-driven pop transition that appears as follows:
To experiment with the calculated transformations while reading through the article, set the test property of the app delegate to true. This will display a test screen where you can interactively explore the applied transformations.