---
title: defaultMode
framework: corefoundation
role: symbol
role_heading: Type Property
path: corefoundation/cfrunloopmode/defaultmode
---

# defaultMode

Run loop mode that should be used when a thread is in its default, or idle, state, waiting for an event. This mode is used when the run loop is started with CFRunLoopRun().

## Declaration

```swift
static let defaultMode: CFRunLoopMode!
```
