Other Protocols
The following protocols are available globally.
-
An
See moreImageVendor
vendsCIImage
objects to consumers.Declaration
Swift
public protocol ImageVendor
-
The
See morePhotoRepresentation
protocol represents a photo of some form.Declaration
Swift
@objc(PESDKPhotoRepresentation) public protocol PhotoRepresentation
-
The
See moreAdjustEditControllerDelegate
defines methods that allow you to respond to messages from theAdjustEditController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKAdjustEditControllerDelegate) public protocol AdjustEditControllerDelegate : AnyObject
-
The
See moreGeneratorDelegate
protocol defines methods that allow you to respond to changes that are made to a generator.Declaration
Swift
@objc(PESDKGeneratorDelegate) public protocol GeneratorDelegate : AnyObject
-
The
See moreBrushEditControllerDelegate
defines methods that allow you to respond to message from theBrushEditController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKBrushEditControllerDelegate) public protocol BrushEditControllerDelegate : AnyObject
-
The
See moreCanvasViewDataSource
protocol defines methods that allow you to pass needed information to the canvas view.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKCanvasViewDataSource) public protocol CanvasViewDataSource
-
The
See moreCanvasViewDelegate
protocol defines methods that allow you to react to changes of the canvas view.Declaration
Swift
@available(iOS 9.0, *) public protocol CanvasViewDelegate : AnyObject
-
The
See moreColorPickerViewControllerDelegate
defines methods that allow you to respond to messages from theColorPickerViewController
.Declaration
Swift
@available(iOS 9.0, *) public protocol ColorPickerViewControllerDelegate : AnyObject
-
The
See moreMediaEditPreviewControllerDelegate
defines methods that allow you to respond to messages from theMediaEditPreviewController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKMediaEditPreviewControllerDelegate) public protocol MediaEditPreviewControllerDelegate : AnyObject
-
The
See moreMediaEditViewControllerDelegate
protocol defines methods that allow you to respond to the events of an instance ofMediaEditViewController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKMediaEditViewControllerDelegate) public protocol MediaEditViewControllerDelegate
-
The
See moreMenuViewControllerDelegate
defines methods that allow you to respond to messages from theMenuViewController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKMenuViewControllerDelegate) public protocol MenuViewControllerDelegate : AnyObject
-
The
See morePhotoEditToolControllerDelegate
defines methods that allow you to respond to messages from thePhotoEditToolController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKPhotoEditToolControllerDelegate) public protocol PhotoEditToolControllerDelegate
-
The
See moreProxyZoomControllerDelegate
defines methods that allow you to respond to messages from theProxyZoomController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKProxyZoomControllerDelegate) public protocol ProxyZoomControllerDelegate
-
The
See moreSliderContainerControllerDelegate
defines methods that allow you to respond to messages from theSliderContainerController
.Declaration
Swift
@available(iOS 9.0, *) public protocol SliderContainerControllerDelegate : AnyObject
-
The
See moreSliderEditControllerDelegate
defines methods that allow you to respond to messages from theSliderEditController
.Declaration
Swift
@available(iOS 9.0, *) public protocol SliderEditControllerDelegate : AnyObject
-
The
See moreSpriteViewControllerDelegate
defines methods that allow you to respond to messages from theSpriteViewController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKSpriteViewControllerDelegate) public protocol SpriteViewControllerDelegate : AnyObject
-
The
See moreDiffable
protocol provides methods needed to compare the identity and equality of two objects.Declaration
Swift
@objc(PESDKDiffable) public protocol Diffable : AnyObject
-
Classes which adopt
See moreEventSubscribable
can be subscribed to. Subscribers can then receive events.Declaration
Swift
@available(iOS 9.0, *) public protocol EventSubscribable : AnyObject
-
An
See moreEventSubscriber
can subscribe to receive events from a class that adoptsEventSubscribable
.Declaration
Swift
@available(iOS 9.0, *) public protocol EventSubscriber : AnyObject
-
A
See moreLayout
provides constraints to achieve a specific layout of views.Declaration
Swift
public protocol Layout
-
Classes which adopt
See morePhotoEditModelSettable
require a photo edit model.Declaration
Swift
@available(iOS 9.0, *) public protocol PhotoEditModelSettable : AnyObject
-
Types that adopt
See morePhotoPreviewController
can control the behavior of aPhotoEditPreviewController
when active.Declaration
Swift
public protocol PhotoPreviewControlling
-
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 moreDeclaration
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 moreDeclaration
Swift
public protocol NormalizedPaddable
-
By conforming to this protocol you indicate, that a sprite view supports padding.
See moreDeclaration
Swift
public protocol Paddable
-
By conforming to this protocol you indicate, that a sprite model or sprite view supports vertical flip.
See moreDeclaration
Swift
public protocol VerticallyFlippable
-
A
See moreTransitionAnimator
provides a custom transition animation.Declaration
Swift
public protocol TransitionAnimator
-
A controller that implements
See moreTransitionProviding
provides a custom transition animator to use when presenting or dismissing the controller.Declaration
Swift
public protocol TransitionProviding
-
The
See moreMenuListSectionControllerListDisplayDelegate
protocol defines methods that allow you to respond to the display events of an instance ofMenuListSectionController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKMenuListSectionControllerListDisplayDelegate) public protocol MenuListSectionControllerListDisplayDelegate : AnyObject
-
The
See moreMenuListSectionControllerSelectionDelegate
protocol defines methods that allow you to respond to the selection events of an instance ofMenuListSectionController
.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 moreDeclaration
Swift
public protocol ToolbarItemProviding
-
The
See moreColorCollectionViewDelegate
defines methods that allow you to respond to messages from theColorCollectionView
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKColorCollectionViewDelegate) public protocol ColorCollectionViewDelegate
-
The
See moreColorPipetteViewDelegate
defines methods that allow you to respond to messages from theColorPipetteView
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKColorPipetteViewDelegate) public protocol ColorPipetteViewDelegate : AnyObject
-
The
See moreFilterEditControllerDelegate
defines methods that allow you to respond to messages from theFilterEditController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKFilterEditControllerDelegate) public protocol FilterEditControllerDelegate : AnyObject
-
The
See moreFocusEditControllerDelegate
defines methods that allow you to respond to messages from theFocusEditControllerDelegate
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKFocusEditControllerDelegate) public protocol FocusEditControllerDelegate : AnyObject
-
Every frame builder must implement this protocol.
See moreDeclaration
Swift
@objc(PESDKFrameBuilderProtocol) public protocol FrameBuilder
-
The
See moreOverlayEditControllerDelegate
defines methods that allow you to respond to messages from theOverlayEditControllerDelegate
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKOverlayEditControllerDelegate) public protocol OverlayEditControllerDelegate : AnyObject
-
The
See moreSpriteEditControllerDelegate
defines methods that allow you to respond to messages from theSpriteEditController
.Declaration
Swift
@available(iOS 9.0, *) public protocol SpriteEditControllerDelegate : AnyObject
-
The
See moreSpriteGestureControllerDelegate
defines methods that allow you to respond to messages from theSpriteGestureController
.Declaration
Swift
@available(iOS 9.0, *) public protocol SpriteGestureControllerDelegate : AnyObject
-
The
See moreWeatherProvider
protocol represents weather data independent of its source.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKWeatherProvider) public protocol WeatherProvider : AnyObject
-
The
See moreStickerEditControllerDelegate
defines methods that allow you to respond to messages from theStickerEditController
.Declaration
Swift
@available(iOS 9.0, *) public protocol StickerEditControllerDelegate : AnyObject
-
The
See moreStickerSelectionControllerDelegate
defines methods that allow you to respond to messages from theStickerSelectionController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKStickerSelectionControllerDelegate) public protocol StickerSelectionControllerDelegate : AnyObject
-
The
See moreFontSelectorViewControllerDelegate
defines methods that allow you to respond to messages from theFontSelectorViewController
.Declaration
Swift
@available(iOS 9.0, *) public protocol FontSelectorViewControllerDelegate : AnyObject
-
The
See moreFontSelectorViewDelegate
protocol defines methods that allow you to respond to the events of an instance ofFontSelectorView
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKFontSelectorViewDelegate) public protocol FontSelectorViewDelegate : AnyObject
-
The
See moreTransformEditControllerDelegate
defines methods that allow you to respond to messages from theTransformEditController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKTransformEditControllerDelegate) public protocol TransformEditControllerDelegate : AnyObject
-
The methods declared by the
See moreCropAndStraightenViewDelegate
protocol allow the adopting delegate to respond to message from theCropAndStraightenView
class and thus respond to operations such as tracking.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKCropAndStraightenViewDelegate) public protocol CropAndStraightenViewDelegate : AnyObject
-
The
See moreScalePickerDelegate
protocol defines a set of methods you can use to receive value-change messages forScalePicker
objects.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
-
The
See moreVideoEditViewControllerDelegate
protocol defines methods that allow you to respond to the events of an instance ofVideoEditViewController
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKVideoEditViewControllerDelegate) public protocol VideoEditViewControllerDelegate : MediaEditViewControllerDelegate
-
Types that adopt
See moreVideoPreviewControlling
can control the behavior of aVideoEditPreviewController
when active.Declaration
Swift
public protocol VideoPreviewControlling
-
The
See moreVideoTrimSelectionViewDelegate
protocol defines methods that allow you to respond to the events of an instance ofVideoTrimSelectionView
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKVideoTrimSelectionViewDelegate) public protocol VideoTrimSelectionViewDelegate : AnyObject
-
The
See moreVideoTrimViewDelegate
protocol defines methods that allow you to respond to the events of an instance ofVideoTrimView
.Declaration
Swift
@available(iOS 9.0, *) @objc(PESDKVideoTrimViewDelegate) public protocol VideoTrimViewDelegate : AnyObject