writeWithBackupToFile method
bool
writeWithBackupToFile(
- NSString fullDocumentPath, {
- required NSString ofType,
- required NSSaveOperationType saveOperation,
writeWithBackupToFile:ofType:saveOperation:
Implementation
bool writeWithBackupToFile(
objc.NSString fullDocumentPath, {
required objc.NSString ofType,
required NSSaveOperationType saveOperation,
}) {
objc.checkOsVersionInternal(
'NSDocument.writeWithBackupToFile:ofType:saveOperation:',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
return _objc_msgSend_11c9g6o(
this.ref.pointer,
_sel_writeWithBackupToFile_ofType_saveOperation_,
fullDocumentPath.ref.pointer,
ofType.ref.pointer,
saveOperation.value,
);
}