Contents

init(prependedItems:appendedItems:deletedItems:)

Creates a list operation with the given prepended/appended/deleted items. Pass no arguments for an empty operation with no slots authored.

Declaration

init(prependedItems: [T] = [], appendedItems: [T] = [], deletedItems: [T] = [])

Parameters

  • prependedItems:

    Items to add to the front during composition.

  • appendedItems:

    Items to add to the back during composition.

  • deletedItems:

    Items to remove during composition.