Common

  • The CameraViewController class provides a dialog to perform serveral tasks regarding the camera. These include taking photos, switching on the flash, and such.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKCameraViewController)
    open class CameraViewController : UIViewController
    extension CameraViewController: UIImagePickerControllerDelegate, UINavigationControllerDelegate
    extension CameraViewController: UIGestureRecognizerDelegate
  • An Configuration defines behaviour and look of all view controllers provided by the PhotoEditorSDK. It uses the builder pattern to create an immutable object via a closure. To configure the different editors and viewControllers contained in the SDK, edit their options in the corresponding configure*ViewController method of the ConfigurationBuilder.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKConfiguration)
    open class Configuration : NSObject
  • IMGLY provides methods to unlock and customize the SDK.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    open class IMGLY : NSObject
  • A PhotoEditModel holds information about any modification that should be applied to an image.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    public struct PhotoEditModel : Equatable
    extension PhotoEditModel: ObjectiveCBridgeable
  • A PhotoEditRenderer takes a CIImage and a PhotoEditModel as input and takes care of applying all necessary effects and filters to the image. The output image can then be rendered into an EAGLContext or converted into a CGImage instance.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKPhotoEditRenderer)
    open class PhotoEditRenderer : NSObject
    extension PhotoEditRenderer: PhotoEditModelSettable
  • A PhotoEditToolController is the base class for any tool controller. Tool controllers can be presented in a PhotoEditViewController and are displayed above a PhotoEditPreviewController.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKPhotoEditToolController)
    open class PhotoEditToolController : ViewController
    extension PhotoEditToolController: EventSubscribable
    extension PhotoEditToolController: ToolbarItemProviding
    extension PhotoEditToolController: PhotoPreviewControlling
    extension PhotoEditToolController: VideoPreviewControlling
  • VESDK provides methods to unlock and customize the SDK.

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    public final class VESDK : IMGLY
  • An object that wraps audiovisual media.

    The Video class currently supports URL and AVAsset as sources for videos. Passing an URL requires the destination to be in a format that can be decoded by iOS.

    See more

    Declaration

    Swift

    @objcMembers
    @objc(PESDKVideo)
    open class Video : NSObject
  • A VideoEditViewController is the main starting point for the SDK. It displays the rendered video and a menu. It can present PhotoEditToolController objects and react to changes. It can be presented on its own (thus displaying a toolbar for navigation at the bottom) or be embedded into a UINavigationController (thus using the navigation controller’s navigation bar for navigation).

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKVideoEditViewController)
    open class VideoEditViewController : MediaEditViewController, BrandedView
  • The VideoEditViewControllerDelegate protocol defines methods that allow you to respond to the events of an instance of VideoEditViewController.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKVideoEditViewControllerDelegate)
    public protocol VideoEditViewControllerDelegate : MediaEditViewControllerDelegate