---
title: NSRefreshController
framework: appkit
role: symbol
role_heading: Class
path: appkit/nsrefreshcontroller
---

# NSRefreshController

A controller that provides pull-to-refresh functionality for scroll views.

## Declaration

```swift
@MainActor class NSRefreshController
```

## Overview

Overview NSRefreshController enables users to trigger refresh operations by pulling down on scrollable content. Add a refresh controller to an NSScrollView to provide this functionality. Configure the target and action to handle refresh events.

## Topics

### Instance Properties

- [action](appkit/nsrefreshcontroller/action.md)
- [attributedTitle](appkit/nsrefreshcontroller/attributedtitle.md)
- [isRefreshing](appkit/nsrefreshcontroller/isrefreshing.md)
- [target](appkit/nsrefreshcontroller/target.md)
- [tintColor](appkit/nsrefreshcontroller/tintcolor.md)

### Instance Methods

- [beginRefreshing()](appkit/nsrefreshcontroller/beginrefreshing().md)
- [endRefreshing()](appkit/nsrefreshcontroller/endrefreshing().md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
