<!--
{
  "availability" : [
    "macOS: 10.7.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSDocument/isEntireFileLoaded",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSDocument(py)entireFileLoaded"
  },
  "title" : "isEntireFileLoaded"
}
-->

# isEntireFileLoaded

A Boolean value that indicates whether the document’s file is completely loaded into memory.

```
nonisolated var isEntireFileLoaded: Bool { get }
```

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the document’s entire file is loaded into memory; otherwise <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

The default value of this property is <doc://com.apple.documentation/documentation/Swift/true>, which signifies that the entire file is loaded into memory. You can override this property to return <doc://com.apple.documentation/documentation/Swift/false> if additional data needs to be read from the file. `NSDocument` may use this value to do things like prevent volume ejection or warn the user when a partially loaded file disappears from the file system.

---

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)