<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "os",
  "identifier" : "/documentation/os/OSSignpostIntervalState/beginState(id:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "os"
    ],
    "preciseIdentifier" : "s:2os23OSSignpostIntervalStateC05beginD02idAcA0B2IDV_tFZ"
  },
  "title" : "beginState(id:)"
}
-->

# beginState(id:)

Recreates interval state from the specified signpost ID.

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

## Parameters

`id`

The signpost ID you use to begin the signposted interval.

## Return Value

The recreated interval state.

## 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.

---

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)