<!--
{
  "availability" : [
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextList/MarkerFormat-swift.struct",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@T@NSTextListMarkerFormat"
  },
  "title" : "NSTextList.MarkerFormat"
}
-->

# NSTextList.MarkerFormat

Constants that describe marker symbols you can apply to list elements in text lists.

```
struct MarkerFormat
```

## Overview

Select a marker symbol to apply to your list elements in your text list, then set it in [`markerFormat`](/documentation/AppKit/NSTextList/markerFormat-swift.property). Or, specify a marker symbol when you create a text list with [`init(markerFormat:options:)`](/documentation/AppKit/NSTextList/init(markerFormat:options:)) or [`init(markerFormat:options:startingItemNumber:)`](/documentation/AppKit/NSTextList/init(markerFormat:options:startingItemNumber:)).

## Topics

### Selecting a marker format

[`static let box: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/box)

The value that represents a square-shaped marker that you can apply to a text list item.

[`static let check: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/check)

The value that represents a checkmark-shaped marker that you can apply to a text list item.

[`static let circle: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/circle)

The value that represents a circle-shaped marker that you can apply to a text list item.

[`static let decimal: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/decimal)

The value that represents a decimal annotation marker that you can apply to a text list item.

[`static let diamond: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/diamond)

The value that represents a diamond-shaped marker that you can apply to a text list item.

[`static let disc: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/disc)

The value that represents a disc-shaped marker that you can apply to a text list item.

[`static let hyphen: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/hyphen)

The value that represents a hyphen-shaped marker that you can apply to a text list item.

[`static let lowercaseAlpha: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/lowercaseAlpha)

The value that represents a lowercase localized alphabetical marker you that can apply to a text list item.

[`static let lowercaseHexadecimal: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/lowercaseHexadecimal)

The value that represents a lowercase hexadecimal (base 16) numerical marker that you can apply to a text list item.

[`static let lowercaseLatin: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/lowercaseLatin)

The value that represents a lowercase Latin alphabetical marker that you can apply to a text list item.

[`static let lowercaseRoman: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/lowercaseRoman)

The value that represents a lowercase Roman numeral marker that you can apply to a text list item.

[`static let octal: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/octal)

The value that represents an octal (base 8) numerical marker that you can apply to a text list item.

[`static let square: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/square)

The value that represents a square-shaped marker that you can apply to a text list item.

[`static let uppercaseAlpha: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/uppercaseAlpha)

The value that represents an uppercase localized alphabetical marker that you can apply to a text list item.

[`static let uppercaseHexadecimal: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/uppercaseHexadecimal)

The value that represents an uppercase hexadecimal (base 16) numerical marker that you can apply to a text list item.

[`static let uppercaseLatin: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/uppercaseLatin)

The value that represents an uppercase Latin alphabetical marker that you can apply to a text list item.

[`static let uppercaseRoman: NSTextList.MarkerFormat`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/uppercaseRoman)

The value that represents an uppercase Roman numeral marker that you can apply to a text list item.

### Initializing a marker format

[`init(String)`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/init(_:))

Creates a new marker that you can apply to an item in a text list with the raw value you provide.

[`init(rawValue: String)`](/documentation/AppKit/NSTextList/MarkerFormat-swift.struct/init(rawValue:))

Creates a new marker that you can apply to an item in a text list using the string you provide.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

---

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)