Skip to content

Replicating Instagram's gesture-driven shared-element transition using UIKit.

Notifications You must be signed in to change notification settings

Kolos65/InstagramTransition

Repository files navigation

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.

About

Replicating Instagram's gesture-driven shared-element transition using UIKit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages