Docs
API Docs

Architecture

The VideoEditor SDK for iOS consists of two main components:

Backend

The SDK’s backend is in charge of all image processing and rendering. That includes live filters, any adjustments made by the user and the final image export. All image modifications, that have been applied to the image, are stored in a PhotoEditModel. This model is used to determine if a new rendering pass is necessary and holds all values.

Frontend

The frontend contains all UI elements including the PhotoEditToolController, which is the base class for all tools, the MenuToolController, which is a subclass of PhotoEditToolController and provides a collection view at the bottom of the view, which acts as the menu. It also contains the CameraViewController and VideoEditViewController classes, which represent the root view controllers.

All tools described in the Features section are implemented as PhotoEditToolController subclasses and managed by the VideoEditViewController. The UI configuration is implemented using the Configuration class and their subclasses, as described in the configuration section.