<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "USDKit",
  "identifier" : "/documentation/USDKit/USDLayer/ListOperation/init(prependedItems:appendedItems:deletedItems:)-1tkyo",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "USDKit"
    ],
    "preciseIdentifier" : "s:6USDKit8USDLayerV13ListOperationV14prependedItems08appendedF007deletedF0AEy_xGSayxG_A2Jtcfc"
  },
  "title" : "init(prependedItems:appendedItems:deletedItems:)"
}
-->

# 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.

```
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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)