initWithNibName method

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

initWithNibName:bundle:

Implementation

UIViewController initWithNibName(objc.NSString? nibNameOrNil, {NSBundle? bundle}) {
  objc.checkOsVersionInternal('UIViewController.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 UIViewController.castFromPointer(_ret, retain: false, release: true);
}