---
title: "marker(forItemNumber:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstextlist/marker(foritemnumber:)"
---

# marker(forItemNumber:)

Returns the computed value for a specific ordinal position in the list.

## Declaration

```swift
func marker(forItemNumber itemNumber: Int) -> String
```

## Parameters

- `itemNumber`: The ordinal position in the list whose computed marker value is desired.

## Return Value

Return Value The computed maker value for itemNum.

## See Also

### Working with markers

- [markerFormat](appkit/nstextlist/markerformat-swift.property.md)
- [NSTextList.MarkerFormat](appkit/nstextlist/markerformat-swift.struct.md)
