---
title: pop()
framework: appkit
role: symbol
role_heading: Type Method
path: appkit/nscursor/pop()-swift.type.method
---

# pop()

Pops the current cursor off the top of the stack.

## Declaration

```swift
class func pop()
```

## Discussion

Discussion The new object on the top of the stack becomes the current cursor. If the current cursor is the only cursor on the stack, this method does nothing.

## See Also

### Controlling which cursor is current

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