Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. folding-cell

folding-cell

MITSwift5.0.2

An iOS UITableViewCell subclass that expands and collapses with a folding paper card animation.

Visit WebsiteGitHubGitHub
10.2k stars1.1k forks0 contributors

What is folding-cell?

FoldingCell is an open-source iOS library that provides a custom UITableViewCell with a folding animation. It allows developers to create expanding content cells that mimic the folding of a paper card, adding a polished, interactive element to lists and tables. It solves the need for engaging, non-standard cell animations without requiring complex custom animation code.

Target Audience

iOS developers building apps with UITableViews who want to add sophisticated, material-design inspired animations to their user interfaces. It's particularly useful for those creating apps where visual feedback and smooth transitions are a priority.

Value Proposition

Developers choose FoldingCell because it offers a production-ready, highly visual animation component that is easy to integrate via multiple dependency managers. Its design is inspired by material design principles, and it handles the complex animation and layout logic internally, saving significant development time.

Overview

:octocat: 📃 FoldingCell is an expanding content cell with animation made by @Ramotion

Use Cases

Best For

  • Adding animated expandable sections to a settings or FAQ screen
  • Creating interactive list items that reveal detailed content on tap
  • Implementing material-design folding animations in iOS apps
  • Enhancing UITableView with custom cell transitions
  • Building apps that require a polished, visually distinctive UI
  • Prototyping interactive list interfaces quickly

Not Ideal For

  • Apps built with SwiftUI that require modern declarative UI frameworks
  • Projects using UICollectionView or custom scroll views instead of UITableView
  • Teams needing drop-in, pre-styled components without manual constraint configuration
  • Applications where animation performance is critical and minimal overhead is desired

Pros & Cons

Pros

Visually Striking Animation

The folding effect mimics paper material design, providing a smooth, multi-stage transition that enhances user engagement, as demonstrated in the GIF and tutorial.

Flexible Integration Options

Supports installation via CocoaPods, Carthage, Swift Package Manager, and manual drag-and-drop, with both Storyboard IBInspectable properties and code-based setup.

Configurable Folding Stages

Allows setting the itemCount property to control the number of folds, enabling different animation depths beyond the default two stages.

Built-in UITableView Compatibility

Includes helpers for dynamically animating cell heights, simplifying the integration with standard iOS table view controllers.

Cons

UIKit and UITableView Lock-in

Exclusively designed for UIKit's UITableView, making it unsuitable for SwiftUI projects or apps using other view controllers like UICollectionView.

Manual Constraint Configuration

Requires precise setup of foregroundView and containerView with specific constraints, which can be complex and error-prone, as outlined in the tutorial steps.

Limited Animation Customization

While fold counts are adjustable, the animation style is fixed to the folding effect, with no built-in support for other transition types like sliding or fading.

Frequently Asked Questions

Quick Stats

Stars10,205
Forks1,142
Contributors0
Open Issues7
Last commit2 years ago
CreatedSince 2015

Tags

#ios#ui-animation#library#animation#ui-component#swift-package-manager#uitableview#ui#material-design#cocoapods#swift#carthage

Built With

i
iOS
S
Swift

Links & Resources

Website

Included in

iOS51.7kSwift26.0k
Auto-fetched 1 day ago

Related Projects

SwipeCellKitSwipeCellKit

Swipeable UITableViewCell/UICollectionViewCell based on the stock Mail.app, implemented in Swift.

Stars6,289
Forks812
Last commit1 year ago
expanding-collectionexpanding-collection

:octocat: ExpandingCollection is an animated material design UI card peek/pop controller. iOS library made by @Ramotion

Stars5,523
Forks522
Last commit6 years ago
DGElasticPullToRefreshDGElasticPullToRefresh

Elastic pull to refresh for iOS developed in Swift

Stars3,752
Forks436
Last commit3 years ago
PerseiPersei

Animated top menu for UITableView / UICollectionView / UIScrollView written in Swift

Stars3,436
Forks312
Last commit6 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub