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