Other Protocols

The following protocols are available globally.

  • An ImageVendor vends CIImage objects to consumers.

    See more

    Declaration

    Swift

    public protocol ImageVendor
  • The PhotoRepresentation protocol represents a photo of some form.

    See more

    Declaration

    Swift

    @objc(PESDKPhotoRepresentation)
    public protocol PhotoRepresentation
  • The AdjustEditControllerDelegate defines methods that allow you to respond to messages from the AdjustEditController.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKAdjustEditControllerDelegate)
    public protocol AdjustEditControllerDelegate : AnyObject
  • The GeneratorDelegate protocol defines methods that allow you to respond to changes that are made to a generator.

    See more

    Declaration

    Swift

    @objc(PESDKGeneratorDelegate)
    public protocol GeneratorDelegate : AnyObject
  • The BrushEditControllerDelegate defines methods that allow you to respond to message from the BrushEditController.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKBrushEditControllerDelegate)
    public protocol BrushEditControllerDelegate : AnyObject
  • The CanvasViewDataSource protocol defines methods that allow you to pass needed information to the canvas view.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKCanvasViewDataSource)
    public protocol CanvasViewDataSource
  • The CanvasViewDelegate protocol defines methods that allow you to react to changes of the canvas view.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    public protocol CanvasViewDelegate : AnyObject
  • The MediaEditViewControllerDelegate protocol defines methods that allow you to respond to the events of an instance of MediaEditViewController.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKMediaEditViewControllerDelegate)
    public protocol MediaEditViewControllerDelegate
  • The MenuViewControllerDelegate defines methods that allow you to respond to messages from the MenuViewController.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKMenuViewControllerDelegate)
    public protocol MenuViewControllerDelegate : AnyObject
  • The ProxyZoomControllerDelegate defines methods that allow you to respond to messages from the ProxyZoomController.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKProxyZoomControllerDelegate)
    public protocol ProxyZoomControllerDelegate
  • The SpriteViewControllerDelegate defines methods that allow you to respond to messages from the SpriteViewController.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKSpriteViewControllerDelegate)
    public protocol SpriteViewControllerDelegate : AnyObject
  • The Diffable protocol provides methods needed to compare the identity and equality of two objects.

    See more

    Declaration

    Swift

    @objc(PESDKDiffable)
    public protocol Diffable : AnyObject
  • Classes which adopt EventSubscribable can be subscribed to. Subscribers can then receive events.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    public protocol EventSubscribable : AnyObject
  • An EventSubscriber can subscribe to receive events from a class that adopts EventSubscribable.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    public protocol EventSubscriber : AnyObject
  • A Layout provides constraints to achieve a specific layout of views.

    See more

    Declaration

    Swift

    public protocol Layout
  • Classes which adopt PhotoEditModelSettable require a photo edit model.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    public protocol PhotoEditModelSettable : AnyObject
  • To use a custom progress HUD when saving a photo or while downloading stickers etc., your progress view must implement this protocol. Please note that your custom progress view should disable user interaction in all parts of the editor. Changing state while the progress view is visible can cause unexpected behavior.

    See more

    Declaration

    Swift

    @objc(PESDKProgressView)
    public protocol ProgressView
  • By conforming to this protocol you indicate, that a sprite model or sprite view supports adding a padding around its content.

    See more

    Declaration

    Swift

    public protocol NormalizedPaddable
  • By conforming to this protocol you indicate, that a sprite view supports padding.

    See more

    Declaration

    Swift

    public protocol Paddable
  • By conforming to this protocol you indicate, that a sprite model or sprite view supports vertical flip.

    See more

    Declaration

    Swift

    public protocol VerticallyFlippable
  • A TransitionAnimator provides a custom transition animation.

    See more

    Declaration

    Swift

    public protocol TransitionAnimator
  • A controller that implements TransitionProviding provides a custom transition animator to use when presenting or dismissing the controller.

    See more

    Declaration

    Swift

    public protocol TransitionProviding
  • The MenuListSectionControllerListDisplayDelegate protocol defines methods that allow you to respond to the display events of an instance of MenuListSectionController.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKMenuListSectionControllerListDisplayDelegate)
    public protocol MenuListSectionControllerListDisplayDelegate : AnyObject
  • The MenuListSectionControllerSelectionDelegate protocol defines methods that allow you to respond to the selection events of an instance of MenuListSectionController.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKMenuListSectionControllerSelectionDelegate)
    public protocol MenuListSectionControllerSelectionDelegate : AnyObject
  • A view controller that is pushed onto a toolbar controller must implement this protocol if it wants to present a toolbar item in the toolbar.

    See more

    Declaration

    Swift

    public protocol ToolbarItemProviding
  • The ColorCollectionViewDelegate defines methods that allow you to respond to messages from the ColorCollectionView.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKColorCollectionViewDelegate)
    public protocol ColorCollectionViewDelegate
  • The ColorPipetteViewDelegate defines methods that allow you to respond to messages from the ColorPipetteView.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKColorPipetteViewDelegate)
    public protocol ColorPipetteViewDelegate : AnyObject
  • The FilterEditControllerDelegate defines methods that allow you to respond to messages from the FilterEditController.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKFilterEditControllerDelegate)
    public protocol FilterEditControllerDelegate : AnyObject
  • The FocusEditControllerDelegate defines methods that allow you to respond to messages from the FocusEditControllerDelegate.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKFocusEditControllerDelegate)
    public protocol FocusEditControllerDelegate : AnyObject
  • Every frame builder must implement this protocol.

    See more

    Declaration

    Swift

    @objc(PESDKFrameBuilderProtocol)
    public protocol FrameBuilder
  • The OverlayEditControllerDelegate defines methods that allow you to respond to messages from the OverlayEditControllerDelegate.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKOverlayEditControllerDelegate)
    public protocol OverlayEditControllerDelegate : AnyObject
  • The FontSelectorViewDelegate protocol defines methods that allow you to respond to the events of an instance of FontSelectorView.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKFontSelectorViewDelegate)
    public protocol FontSelectorViewDelegate : AnyObject
  • The TransformEditControllerDelegate defines methods that allow you to respond to messages from the TransformEditController.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKTransformEditControllerDelegate)
    public protocol TransformEditControllerDelegate : AnyObject
  • The methods declared by the CropAndStraightenViewDelegate protocol allow the adopting delegate to respond to message from the CropAndStraightenView class and thus respond to operations such as tracking.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKCropAndStraightenViewDelegate)
    public protocol CropAndStraightenViewDelegate : AnyObject
  • The ScalePickerDelegate protocol defines a set of methods you can use to receive value-change messages for ScalePicker objects.

    See more

    Declaration

    Swift

    @available(iOS 9.0, *)
    @objc(PESDKScalePickerDelegate)
    public protocol ScalePickerDelegate : AnyObject
  • Marker protocol to generate a matching Objective-C type using Sourcery.

    Declaration

    Swift

    public protocol ObjectiveCBridgeable