---
title: push()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nscursor/push()
---

# push()

Puts the receiver on top of the cursor stack and makes it the current cursor.

## Declaration

```swift
func push()
```

## See Also

### Controlling which cursor is current

- [pop()](appkit/nscursor/pop()-swift.type.method.md)
- [pop()](appkit/nscursor/pop()-swift.method.md)
- [set()](appkit/nscursor/set().md)
