---
title: refreshController
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsscrollview/refreshcontroller
---

# refreshController

The refresh controller associated with this scroll view.

## Declaration

```swift
var refreshController: NSRefreshController? { get set }
```

## Discussion

Discussion Setting this property adds the refresh controller to the scroll view, enabling pull-to-refresh functionality. Set to nil to remove it.
