Configuration

@objc(PESDKConfiguration) open class Configuration: NSObject

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.

  • Creates a newly allocated instance of Configuration using the given builder.

    Declaration

    Swift

    public init(builder: ((ConfigurationBuilder) -> Void))

    Parameters

    builder

    An instance of ConfigurationBuilder.