AdjustEditController
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKAdjustEditController)
open class AdjustEditController : ViewController
An AdjustEditController
can be used to update the AdjustmentModel
of a PhotoEditModel
.
It is supposed to be contained in a tool controller and be presented above a
PhotoEditPreviewController
.
-
The
SliderEditController
that displays the slider.Declaration
Swift
open let sliderEditController: SliderEditController<TooltipSlider>
-
The object that acts as this controller’s delegate.
Declaration
Swift
open weak var delegate: AdjustEditControllerDelegate?
-
The
AdjustTool
that this controller currently manages.Declaration
Swift
open var adjustTool: AdjustTool? { get set }
-
The
PhotoEditModel
that this controller manages.Declaration
Swift
open var photoEditModel: PhotoEditModel { get set }
-
Creates a new
AdjustEditController
with the givenSliderEditController
as its child view controller.Declaration
Swift
public init(sliderEditController: SliderEditController<TooltipSlider>)
Parameters
sliderEditController
The slider edit controller to use within this controller.
-
Updates the adjust tool that this controller currently handles.
Declaration
Swift
open func setAdjustTool(_ adjustTool: AdjustTool?, animated: Bool)
Parameters
adjustTool
The adjust tool to update.
animated
Whether to animate this change or not.