fileURLWithPathComponents static method

NSURL? fileURLWithPathComponents(
  1. NSArray components
)

fileURLWithPathComponents:

Implementation

static objc.NSURL? fileURLWithPathComponents(objc.NSArray components) {
  objc.checkOsVersionInternal(
    'NSURL.fileURLWithPathComponents:',
    iOS: (false, (4, 0, 0)),
    macOS: (false, (10, 6, 0)),
  );
  final _ret = _objc_msgSend_1sotr3r(
    _class_NSURL,
    _sel_fileURLWithPathComponents_,
    components.ref.pointer,
  );
  return _ret.address == 0
      ? null
      : objc.NSURL.castFromPointer(_ret, retain: true, release: true);
}