# Yalantis/DisplaySwitcher

Custom transition between two collection view layouts

Repository: https://github.com/Yalantis/DisplaySwitcher
Canonical: https://ross.abutalabs.com/products/displayswitcher
Homepage: https://yalantis.com
Language: Swift
License: MIT
License Family: permissive
Topics: ios, yalantis, swift, custom-transitions, animation, cocoapods, transition-layout, custom-layout, display-switcher
Last push: 2021-07-15T14:13:46+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": 3796, "days_push": 1875, "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 2301, forks 184 (observed 2026-08-28T04:06:35.497774+00:00)

## What it is
A Swift library by Yalantis that provides a custom UICollectionView transition for switching between list and grid layouts with a smooth animated effect. It ships as a CocoaPods/Carthage package for iOS 10+ apps.

## Use cases
- switch between list and grid view in a contacts list
- add animated layout toggle to a collection view
- implement grid/list display switcher in a social app
- animate transition between two collection view layouts
- toggle email client view between list and grid

## When to choose
- you have a UICollectionView and want a polished animated list-to-grid toggle
- you want a ready-made custom transition layout in Swift
- your app shows contacts, friends, or media that benefit from both list and grid views

## When to avoid
- you need SwiftUI rather than UIKit collection views
- you need layouts other than list and grid
- you need actively developed features - the library is in maintenance with no recent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: mobile-development, frontend
- platform: -
- tags: uicollectionview, custom-layout, list-grid-toggle, cocoapods, transition-animation, ios, swift, mobile

## Member repositories
- Yalantis/DisplaySwitcher (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:35.497774+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:40:12.017361+00:00, confidence not recorded.
  - readme: https://github.com/Yalantis/DisplaySwitcher (fetched 2026-08-28T04:06:35.497774+00:00, sha 6ae622da4ea7)
  - homepage: https://yalantis.com (fetched 2026-08-29T10:20:26.048043+00:00, sha 0b15cc9179be)
  - site_page: https://yalantis.com/company (fetched 2026-08-29T10:20:26.051128+00:00, sha dc50f35c7edf)
  - site_page: https://yalantis.com/services/artificial-intelligence-consulting (fetched 2026-08-29T10:20:26.053092+00:00, sha 8f35541c41d8)
  - site_page: https://yalantis.com/iot-management-platform (fetched 2026-08-29T10:20:26.055379+00:00, sha a6a605a9d504)
- Data as of 2026-08-30T08:39:29.467469+00:00.
