URLByAppendingPathComponent$1 method
URLByAppendingPathComponent:isDirectory:
Implementation
objc.NSURL? URLByAppendingPathComponent$1(
objc.NSString pathComponent, {
required bool isDirectory,
}) {
objc.checkOsVersionInternal(
'NSURL.URLByAppendingPathComponent:isDirectory:',
iOS: (false, (5, 0, 0)),
macOS: (false, (10, 7, 0)),
);
final _ret = _objc_msgSend_17amj0z(
this.ref.pointer,
_sel_URLByAppendingPathComponent_isDirectory_,
pathComponent.ref.pointer,
isDirectory,
);
return _ret.address == 0
? null
: objc.NSURL.castFromPointer(_ret, retain: true, release: true);
}