Controllers

  • A FocusEditController displays controls to update a linear or radial blur. It is supposed to be contained in a tool controller and be presented above a PhotoEditPreviewController. It can also contain a SliderEditController to present a slider to control the blur intensity.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKFocusEditController)
    open class FocusEditController : ViewController
  • A MenuViewController displays a menu at the bottom of its view and the view of an arbitrary contained UIViewController above that menu.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKMenuViewController)
    open class MenuViewController : ViewController
  • A OverlayEditController displays controls to update the blend mode and intensity of an overlay. It is supposed to be contained in a tool controller and be presented above a PhotoEditPreviewController. It contains a SliderEditController to present a slider to control the overlay intensity.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKOverlayEditController)
    open class OverlayEditController : ViewController
  • The PhotoEditPreviewController is responsible for previewing changes to a photo and displaying the image in a scrollable container. It is passed a full resolution UIImage object and handles downscaling automatically.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKPhotoEditPreviewController)
    open class PhotoEditPreviewController : MediaEditPreviewController
  • A ProxyZoomController is supposed to be contained in a tool controller. It is added above a PhotoEditPreviewController and can forward scroll view events to the preview, to enabled zooming and scrolling within a tool.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKProxyZoomController)
    open class ProxyZoomController : ViewController
  • The SpriteGestureController adds pan, pinch and rotate gestures to sprites. It is intended to be an abstract class, with StickerGestureController and TextGestureController as concrete implementations.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    open class SpriteGestureController<SpriteModelType, SpriteSelectionView> : NSObject, UIGestureRecognizerDelegate where SpriteModelType : SpriteModel, SpriteSelectionView : UIView
  • A StickerSelectionController displays multiple Stickers and allows selection of a sticker.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKStickerSelectionController)
    open class StickerSelectionController : ViewController
  • A TransformEditController displays controls and provides gestures to edit the straighten angle, crop rectangle and orientation of an image.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objcMembers
    @objc(PESDKTransformEditController)
    open class TransformEditController : ViewController