---
title: current
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/runloop/current
---

# current

Returns the run loop for the current thread.

## Declaration

```swift
class var current: RunLoop { get }
```

## Return Value

Return Value The NSRunLoop object for the current thread.

## Discussion

Discussion If a run loop does not yet exist for the thread, one is created and returned.

## See Also

### Related Documentation

- [Threading Programming Guide](apple-archive/documentation/Cocoa/Conceptual/Multithreading/Introduction.md)

### Accessing Run Loops and Modes

- [currentMode](foundation/runloop/currentmode.md)
- [limitDate(forMode:)](foundation/runloop/limitdate(formode:).md)
- [main](foundation/runloop/main.md)
- [getCFRunLoop()](foundation/runloop/getcfrunloop().md)
- [RunLoop.Mode](foundation/runloop/mode.md)
