Kolos65 / InstagramTransition

Replicating Instagram's gesture-driven shared-element transition using UIKit.
20 stars 0 forks source link

InstagramTransition

A custom shared-element UIViewController transition implemented in Swift.

Description

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:

Instagram's Transition Animation Instagram's Transition Animation (Slowed)

Test mode

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.