progressWithTotalUnitCount static method
progressWithTotalUnitCount:
Implementation
static NSProgress progressWithTotalUnitCount(int unitCount) {
objc.checkOsVersionInternal(
'NSProgress.progressWithTotalUnitCount:',
iOS: (false, (7, 0, 0)),
macOS: (false, (10, 9, 0)),
);
final $ret = _objc_msgSend_1ya1kjn(
_class_NSProgress,
_sel_progressWithTotalUnitCount_,
unitCount,
);
return NSProgress.fromPointer($ret, retain: true, release: true);
}