---
title: "init(rawValue:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nstextlist/markerformat-swift.struct/init(rawvalue:)"
---

# init(rawValue:)

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

## Declaration

```swift
init(rawValue: String)
```

## Parameters

- `rawValue`: A string object that represents the marker image, such as “box,” “check,” “diamond,” and so on.

## See Also

### Initializing a marker format

- [init(_:)](appkit/nstextlist/markerformat-swift.struct/init(_:).md)
