nicklockwood/iCarousel ? reverse-engineered prompt
Reverse engineered prompt
Build me an iOS and Mac carousel component like the one in iCarousel, with a simple demo app that shows how to use it.
I want a reusable, data driven 3D scrolling view that can display any kind of custom view, not just images, and lets me switch between different looks like linear, rotary, cylinder, wheel, Cover Flow, and a time machine style. It should feel smooth to swipe and flick, support tapping an item to center it, and let me control things like spacing, perspective, bounce, wrapping, and deceleration. Please include a basic example screen with a few colorful cards or images so I can see the different styles working.
Keep it easy to drop into an existing app, and make sure the code is clean enough that I can reuse the carousel view on its own. If you need to check current docs or best practices, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit