---
title: "init(markerFormat:options:startingItemNumber:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nstextlist/init(markerformat:options:startingitemnumber:)"
---

# init(markerFormat:options:startingItemNumber:)

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

## Declaration

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

## Parameters

- `markerFormat`: One of the possible doc://com.apple.appkit/documentation/AppKit/NSTextList/MarkerFormat-swift.struct formats.
- `options`: One or more of the possible doc://com.apple.appkit/documentation/AppKit/NSTextList/Options options.
- `startingItemNumber`: An integer that represents the stating item number.

## See Also

### Creating a text list

- [init(coder:)](appkit/nstextlist/init(coder:).md)
- [init(markerFormat:options:)](appkit/nstextlist/init(markerformat:options:).md)
