---
title: NSEvent.Phase
framework: appkit
role: symbol
role_heading: Structure
path: appkit/nsevent/phase-swift.struct
---

# NSEvent.Phase

Constants that represent the possible phases during an event phase.

## Declaration

```swift
struct Phase
```

## Topics

### Constants

- [began](appkit/nsevent/phase-swift.struct/began.md)
- [stationary](appkit/nsevent/phase-swift.struct/stationary.md)
- [changed](appkit/nsevent/phase-swift.struct/changed.md)
- [ended](appkit/nsevent/phase-swift.struct/ended.md)
- [cancelled](appkit/nsevent/phase-swift.struct/cancelled.md)
- [mayBegin](appkit/nsevent/phase-swift.struct/maybegin.md)

### Initializers

- [init(rawValue:)](appkit/nsevent/phase-swift.struct/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Constants

- [NSEvent.EventTypeMask](appkit/nsevent/eventtypemask.md)
- [NSEvent.ButtonMask](appkit/nsevent/buttonmask-swift.struct.md)
- [NSEvent.ModifierFlags](appkit/nsevent/modifierflags-swift.struct.md)
- [NSEvent.SwipeTrackingOptions](appkit/nsevent/swipetrackingoptions.md)
- [init(type:)](appkit/nsevent/eventtypemask/init(type:).md)
