<!--
{
  "availability" : [
    "macOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextList/init(markerFormat:options:startingItemNumber:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTextList(im)initWithMarkerFormat:options:startingItemNumber:"
  },
  "title" : "init(markerFormat:options:startingItemNumber:)"
}
-->

# init(markerFormat:options:startingItemNumber:)

Returns a new text list with the format, options, and starting item number you provide.

```
init(markerFormat: NSTextList.MarkerFormat, options: NSTextList.Options = [], startingItemNumber: Int)
```

## Parameters

`markerFormat`

One of the possible [`NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct) formats.

`options`

One or more of the possible [`NSTextList.Options`](/documentation/AppKit/NSTextList/Options) options.

`startingItemNumber`

An integer that represents the stating item number.

---

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)