URLByAppendingPathExtension method
NSURL?
URLByAppendingPathExtension(
- NSString pathExtension$1
URLByAppendingPathExtension:
Implementation
objc.NSURL? URLByAppendingPathExtension(objc.NSString pathExtension$1) {
objc.checkOsVersionInternal(
'NSURL.URLByAppendingPathExtension:',
iOS: (false, (4, 0, 0)),
macOS: (false, (10, 6, 0)),
);
final _ret = _objc_msgSend_1sotr3r(
this.ref.pointer,
_sel_URLByAppendingPathExtension_,
pathExtension$1.ref.pointer,
);
return _ret.address == 0
? null
: objc.NSURL.castFromPointer(_ret, retain: true, release: true);
}