initWithNibName method

UIAlertController initWithNibName(
  1. NSString? nibNameOrNil, {
  2. NSBundle? bundle,
})

initWithNibName:bundle:

Implementation

UIAlertController initWithNibName(objc.NSString? nibNameOrNil, {objc.NSBundle? bundle}) {
  final _$$ref = object$.ref;
  final _$$ref$1 = nibNameOrNil?.ref;
  final _$$ref$2 = bundle?.ref;
  objc.checkOsVersionInternal('UIAlertController.initWithNibName:bundle:', iOS: (false, (2, 0, 0)));
  final $ret = _objc_msgSend_15qeuct(
    _$$ref.retainAndReturnPointer(),
    _sel_initWithNibName_bundle_,
    _$$ref$1?.pointer ?? ffi.nullptr,
    _$$ref$2?.pointer ?? ffi.nullptr,
  );
  return UIAlertController.fromPointer($ret, retain: false, release: true);
}