---
title: beginRefreshing()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsrefreshcontroller/beginrefreshing()
---

# beginRefreshing()

Tells the refresh controller that a refresh operation has begun.

## Declaration

```swift
func beginRefreshing()
```

## Discussion

Discussion Call this method to programmatically start a refresh operation. The refresh controller enters the refreshing state and displays its activity indicator. This is typically used when you want to show a refresh initiated by something other than user interaction.
