---
title: "init(markerFormat:options:startingItemNumber:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/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.uikit/documentation/UIKit/NSTextList/MarkerFormat-swift.struct formats.
- `options`: One or more of the possible doc://com.apple.uikit/documentation/UIKit/NSTextList/Options options.
- `startingItemNumber`: An integer that represents the stating item number.

## See Also

### Creating a text list

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