loadFileWrapperRepresentation method

bool loadFileWrapperRepresentation(
  1. NSFileWrapper wrapper, {
  2. required NSString ofType,
})

loadFileWrapperRepresentation:ofType:

Implementation

bool loadFileWrapperRepresentation(
  NSFileWrapper wrapper, {
  required objc.NSString ofType,
}) {
  objc.checkOsVersionInternal(
    'NSDocument.loadFileWrapperRepresentation:ofType:',
    iOS: (true, null),
    macOS: (false, (10, 0, 0)),
  );
  return _objc_msgSend_1lsax7n(
    this.ref.pointer,
    _sel_loadFileWrapperRepresentation_ofType_,
    wrapper.ref.pointer,
    ofType.ref.pointer,
  );
}