<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSViewAnimation/EffectName",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@T@NSViewAnimationEffectName"
  },
  "title" : "NSViewAnimation.EffectName"
}
-->

# NSViewAnimation.EffectName

The following constants specify the animation effect to apply and are used as values for the animation effect property of the animation view. See the description of [`effect`](/documentation/AppKit/NSViewAnimation/Key/effect) for usage details.

```
struct EffectName
```

## Topics

### Effect Names

[`static let fadeIn: NSViewAnimation.EffectName`](/documentation/AppKit/NSViewAnimation/EffectName/fadeIn)

Specifies a fade-in type of effect.

[`static let fadeOut: NSViewAnimation.EffectName`](/documentation/AppKit/NSViewAnimation/EffectName/fadeOut)

Specifies a fade-out type of effect.

### Initializers

[`init(rawValue: String)`](/documentation/AppKit/NSViewAnimation/EffectName/init(rawValue:))

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)