- 
                  
                  
Gets or sets a value specifying whether to discard the undo group if it’s opened on an
UndoSystemwhile it receives an undo/redo callDeclaration
Swift
public var discardOnOperation: Bool - 
                  
                  
Gets or sets whether to reverse the order of the operations on undo
Declaration
Swift
public var reverseOnUndo: Bool - 
                  
                  
The list of undo tasks enclosed in this
GroupUndoTaskDeclaration
Swift
private(set) public var undoList: [UndoTask] { get } - 
                  
                  
Initializes a new instance of the
GroupUndoTaskclass with a descriptionDeclaration
Swift
public init(description: String)Parameters
descriptionThe description for this
GroupUndoTask - 
                  
                  
Initializes a new instance of the
GroupUndoTaskclass with a list of tasks to perform and a descriptionDeclaration
Swift
public init(tasks: [UndoTask], description: String, discardOnOperation: Bool = false, reverseOnUndo: Bool = true)Parameters
tasksThe tasks to perform
descriptionThe description for this
GroupUndoTaskdiscardOnOperationWhether to discard the undo group if it’s opened on an UndoSystem while it receives an undo/redo call
reverseOnUndoWhether to perform the undo operations in the reverse order the tasks where added
 - 
                  
                  
Adds a new task on this
GroupUndoTaskDeclaration
Swift
public func addTask(_ task: UndoTask)Parameters
taskThe task to add to this
GroupUndoTask - 
                  
                  
Adds a list of tasks on this
GroupUndoTaskDeclaration
Swift
public func addTasks(_ tasks: [UndoTask])Parameters
tasksThe tasks to add to this
GroupUndoTask - 
                  
                  
Clears this UndoTask object
Declaration
Swift
public func clear() - 
                  
                  
Undoes this task
Declaration
Swift
public func undo() - 
                  
                  
Redoes this task
Declaration
Swift
public func redo() - 
                  
                  
Returns a short string description of this UndoTask
Declaration
Swift
public func getDescription() -> String