---
title: "CFRunLoopRemoveTimer(_:_:_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfrunloopremovetimer(_:_:_:)"
---

# CFRunLoopRemoveTimer(_:_:_:)

Removes a CFRunLoopTimer object from a run loop mode.

## Declaration

```swift
func CFRunLoopRemoveTimer(_ rl: CFRunLoop!, _ timer: CFRunLoopTimer!, _ mode: CFRunLoopMode!)
```

## Parameters

- `rl`: The run loop to modify.
- `timer`: The run loop timer to remove.
- `mode`: The run loop mode of rl from which to remove timer. Use the constant doc://com.apple.corefoundation/documentation/CoreFoundation/CFRunLoopMode/commonModes to remove timer from the set of objects monitored by all the common modes.

## Discussion

Discussion If rl does not contain timer in mode, this function does nothing.

## See Also

### Managing Timers

- [CFRunLoopAddTimer(_:_:_:)](corefoundation/cfrunloopaddtimer(_:_:_:).md)
- [CFRunLoopGetNextTimerFireDate(_:_:)](corefoundation/cfrunloopgetnexttimerfiredate(_:_:).md)
- [CFRunLoopContainsTimer(_:_:_:)](corefoundation/cfrunloopcontainstimer(_:_:_:).md)
