# lxcid/LXReorderableCollectionViewFlowLayout

Extends `UICollectionViewFlowLayout` to support reordering of cells. Similar to long press and pan on books in iBook.

Repository: https://github.com/lxcid/LXReorderableCollectionViewFlowLayout
Canonical: https://ross.abutalabs.com/products/lxreorderablecollectionviewflowlayout
Homepage: http://lxcid.com/
Language: Objective-C
License: MIT
License Family: permissive
Topics: uicollectionview, reordering, ibooks, objective-c, drag-and-drop, uicollectionviewlayout
Last push: 2019-03-08T13:01:46+00:00

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

## Adoption (not part of the score)
Stars 1850, forks 317 (observed 2026-08-28T04:05:44.200544+00:00)

## What it is
An Objective-C library that extends UICollectionViewFlowLayout to support drag-and-drop reordering of collection view cells, similar to the long-press interaction in iBooks. It provides delegate and data source protocols for handling cell moves and edge auto-scrolling.

## Use cases
- reorder cells in a uicollectionview with long press drag
- implement drag-and-drop grid like ibooks on ios
- let users rearrange items in a collection view layout
- auto-scroll collection view while dragging a cell to the edge
- add drag-to-reorder to an objective-c ios app

## When to choose
- you need iBooks-style cell reordering in a UICollectionViewFlowLayout-based grid
- you are maintaining an older Objective-C or pre-iOS 9 codebase without native drag-and-drop

## When to avoid
- you target modern iOS where UICollectionView's native drag-and-drop APIs exist
- you use SwiftUI or a non-flow collection layout
- you need actively maintained software with recent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: mobile-development, cross-platform
- platform: -
- tags: uicollectionview, drag-and-drop, reordering, objective-c, cocoapods, ios, swift, mobile

## Member repositories
- lxcid/LXReorderableCollectionViewFlowLayout (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:44.200544+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-30T03:17:07.922549+00:00, confidence not recorded.
  - readme: https://github.com/lxcid/LXReorderableCollectionViewFlowLayout (fetched 2026-08-28T04:05:44.200544+00:00, sha 87a2c01dcafa)
  - homepage: http://lxcid.com/ (fetched 2026-08-29T10:56:13.661793+00:00, sha 2839776ca93d)
  - site_page: https://lxcid.com/about (fetched 2026-08-29T10:56:13.671217+00:00, sha 2191b5a7b2ca)
- Data as of 2026-08-30T08:39:29.467469+00:00.
