Ramotion/folding-cell ? reverse-engineered prompt
Reverse engineered prompt
Build me an iOS Swift component that makes table view cells fold open and closed with a nice paper card animation.
I want it to feel like a modern expandable list, where each row shows a compact front view first, then smoothly раскрывается into more content when tapped. The open and closed states should animate cleanly, with the top part folding back and the hidden content sliding into place. Please make it easy to drop into a project, and include a simple example screen so I can see how to use it in a table view.
If it needs a storyboard or nib setup, that’s fine, just keep it straightforward and well explained. I’d also like it to work with standard UIKit code, and be easy to customize for different cell heights and animation timing. If anything is unclear, look up the current docs online and match the expected behavior closely.
Are you gonna build this?
make sure you review the code using coderabbit