---
title: "beginState(id:)"
framework: os
role: symbol
role_heading: Type Method
path: "os/ossignpostintervalstate/beginstate(id:)"
---

# beginState(id:)

Recreates interval state from the specified signpost ID.

## Declaration

```swift
static func beginState(id: OSSignpostID) -> OSSignpostIntervalState
```

## Parameters

- `id`: The signpost ID you use to begin the signposted interval.

## Return Value

Return Value The recreated interval state.

## Discussion

Discussion important: Recreating interval state to end a signposted interval bypasses runtime assertions that check for consistency between the beginning and the end of the interval.
