writeToURL method
writeToURL:ofType:
Implementation
bool writeToURL(objc.NSURL url, {required objc.NSString ofType}) {
objc.checkOsVersionInternal(
'NSDocument.writeToURL:ofType:',
iOS: (true, null),
macOS: (false, (10, 0, 0)),
);
return _objc_msgSend_1lsax7n(
this.ref.pointer,
_sel_writeToURL_ofType_,
url.ref.pointer,
ofType.ref.pointer,
);
}