<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSViewAnimation/Key/endFrame",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@NSViewAnimationEndFrameKey"
  },
  "title" : "endFrame"
}
-->

# endFrame

The size and location of the window or view at the end of the animation.

```
static let endFrame: NSViewAnimation.Key
```

## Discussion

The size and location are specified by an <doc://com.apple.documentation/documentation/Foundation/NSRect> structure encoded in an <doc://com.apple.documentation/documentation/Foundation/NSValue> object. This property is optional. If it is not specified, `NSViewAnimation` uses the frame of the window or view at the start of the animation. If the target is a view and the end frame is empty, the view is hidden at the end.

---

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)