---
title: endRefreshing()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsrefreshcontroller/endrefreshing()
---

# endRefreshing()

Tells the refresh controller that a refresh operation has ended.

## Declaration

```swift
func endRefreshing()
```

## Discussion

Discussion Call this method when your refresh operation completes. The refresh controller returns to its default appearance and exits the refreshing state.
