initWithParent method
initWithParent:userInfo:
Implementation
NSProgress initWithParent(
NSProgress? parentProgressOrNil, {
NSDictionary? userInfo,
}) {
objc.checkOsVersionInternal(
'NSProgress.initWithParent:userInfo:',
iOS: (false, (7, 0, 0)),
macOS: (false, (10, 9, 0)),
);
final $ret = _objc_msgSend_15qeuct(
object$.ref.retainAndReturnPointer(),
_sel_initWithParent_userInfo_,
parentProgressOrNil?.ref.pointer ?? ffi.nullptr,
userInfo?.ref.pointer ?? ffi.nullptr,
);
return NSProgress.fromPointer($ret, retain: false, release: true);
}