isEntireFileLoaded
A Boolean value that indicates whether the document’s file is completely loaded into memory.
Declaration
nonisolated var isEntireFileLoaded: Bool { get }Return Value
true if the document’s entire file is loaded into memory; otherwise false.
Discussion
The default value of this property is true, which signifies that the entire file is loaded into memory. You can override this property to return 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.