Skip to content

ADImageEditToolCodable

duzexu edited this page Sep 18, 2021 · 1 revision

ADImageEditToolCodable

Use to save or revert edit tool info.

public protocol ADImageEditToolCodable: AnyObject 

Inheritance

AnyObject

Requirements

identifier

Identifier of the tool. It will be used to identify the tool when save and revert info. You might want to make sure that tools with different identifiers.

var identifier: String 

encode()

Archive tool info to save.

func encode() -> Any?

decode(from:​)

Unarchive tool info from saved data.

func decode(from: Any)

Parameters

  • from: Saved data.
Types
Protocols
Global Typealiases
Operators
Extensions

Clone this wiki locally