initWithNibName method

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

initWithNibName:bundle:

Implementation

UIAlertController initWithNibName(objc.NSString? nibNameOrNil, {NSBundle? bundle}) {
  objc.checkOsVersionInternal('UIAlertController.initWithNibName:bundle:', iOS: (false, (2, 0, 0)));
  final _ret = _objc_msgSend_15qeuct(
    this.ref.retainAndReturnPointer(),
    _sel_initWithNibName_bundle_,
    nibNameOrNil?.ref.pointer ?? ffi.nullptr,
    bundle?.ref.pointer ?? ffi.nullptr,
  );
  return UIAlertController.castFromPointer(_ret, retain: false, release: true);
}