arrayWithContentsOfFile static method
NSArray?
arrayWithContentsOfFile(
- NSString path
arrayWithContentsOfFile:
Implementation
static objc.NSArray? arrayWithContentsOfFile(objc.NSString path) {
objc.checkOsVersionInternal(
'NSArray.arrayWithContentsOfFile:',
iOS: (false, (2, 0, 0)),
macOS: (false, (10, 0, 0)),
);
final _ret = _objc_msgSend_1sotr3r(
_class_NSArray,
_sel_arrayWithContentsOfFile_,
path.ref.pointer,
);
return _ret.address == 0
? null
: objc.NSArray.castFromPointer(_ret, retain: true, release: true);
}