FilterSelectionController

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKFilterSelectionController)
open class FilterSelectionController : NSObject

A FilterSelectionController contains everything that is needed to display a list of available filters.

  • Creates a new instance of a FilterSelectionController using the given input image.

    Declaration

    Swift

    public convenience init(inputImage: UIImage?)

    Parameters

    inputImage

    The input image that should be used to preview the filters.

  • Creates a new instance of a FilterSelectionController using the given input image and cell class.

    Declaration

    Swift

    public init(inputImage: UIImage?, cellClass: MenuCollectionViewCell.Type)

    Parameters

    inputImage

    The input image that should be used to preview the filters.

    cellClass

    The type of cell that should be used.

  • Updates the cell selection based on the activePhotoEffectBlock.

    Declaration

    Swift

    open func updateSelection(animated: Bool)

    Parameters

    animated

    If true the selection will be animated.