# HarshilShah/DeckTransition

A library to recreate the iOS Apple Music now playing transition

Repository: https://github.com/HarshilShah/DeckTransition
Canonical: https://ross.abutalabs.com/products/decktransition
Language: Swift
License: MIT
License Family: permissive
Topics: ios, modals, apple-music, transition
Last push: 2022-05-17T16:17:11+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3606, "days_push": 1569, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2175, forks 163 (observed 2026-08-28T04:06:22.131972+00:00)

## What it is
A Swift library for iOS that recreates the card-like modal transition used in the iOS 10 Apple Music and iMessage apps. It provides a custom transitioning delegate with built-in swipe-to-dismiss gesture support.

## Use cases
- recreate the Apple Music now playing modal transition in my iOS app
- present a view controller with a card-like deck animation
- add swipe-to-dismiss to a modal with a scroll view
- custom modal presentation transition for Swift iOS app
- iOS 10 style card modal via storyboard segue

## When to choose
- building an iOS app in Swift that wants the Apple Music-style card modal presentation
- you need swipe-to-dismiss behavior tied to scroll position in a modal

## When to avoid
- building for Android or cross-platform frameworks
- your project targets iOS versions or Swift versions incompatible with the library
- you need a maintained library with recent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: animation, ui-components
- domain: mobile-development, frontend
- platform: -
- tags: swift, uikit, modal-transition, apple-music, swipe-to-dismiss, cocoapods, carthage, ios, mobile

## Member repositories
- HarshilShah/DeckTransition (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:22.131972+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:48:54.007962+00:00, confidence not recorded.
  - readme: https://github.com/HarshilShah/DeckTransition (fetched 2026-08-28T04:06:22.131972+00:00, sha c7eb00bf91ed)
- Data as of 2026-08-30T08:39:29.467469+00:00.
