CoachNow/NextLevel ? reverse-engineered prompt

Reverse engineered prompt

Build me a Swift camera library for iOS that makes it easy to add a custom camera screen to an app.

I want it to support video clip recording and editing, photo capture, and live image streaming, with a simple API that feels easy to drop into an existing project. It should handle starting and stopping the camera session, recording and pausing clips, merging clips into one video, and basic control over things like focus, exposure, flash, zoom, and frame rate. Please include support for custom gestures and a customizable camera interface, plus hooks for reading and modifying video frames in real time.

If it fits naturally, add support for ARKit and true depth features behind flags, and make sure the code is set up for Swift Package Manager as well as CocoaPods style use. Keep the example code straightforward so someone can get a camera preview on screen and start recording quickly. If you need current Apple docs or API details, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab