PhotoEditModelSettable

@available(iOS 9.0, *)
public protocol PhotoEditModelSettable : AnyObject

Classes which adopt PhotoEditModelSettable require a photo edit model.

  • The photo edit model.

    Declaration

    Swift

    var photoEditModel: PhotoEditModel { get set }
  • Can be used to perform multiple changes to the photo edit model without triggering photoEditModelDidChange notifications for each change but only for all changes together.

    Declaration

    Swift

    func performChanges(_ changes: (inout PhotoEditModel) -> Void)

    Parameters

    changes

    The changes to perform.