MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / run

Method run

packages/core/application/application.ios.ts:310–319  ·  view source on GitHub ↗
(entry?: string | NavigationEntry)

Source from the content-addressed store, hash-verified

308 }
309
310 run(entry?: string | NavigationEntry): void {
311 setAppMainEntry(typeof entry === 'string' ? { moduleName: entry } : entry);
312 this.started = true;
313
314 if (this.nativeApp) {
315 this.runAsEmbeddedApp();
316 } else {
317 this.runAsMainApp();
318 }
319 }
320
321 private runAsMainApp() {
322 UIApplicationMain(0, null, null, this.delegate ? NSStringFromClass(this.delegate as any) : NSStringFromClass(Responder));

Callers 4

index.tsFile · 0.45
main.tsFile · 0.45
main.tsFile · 0.45
main.tsFile · 0.45

Calls 3

runAsEmbeddedAppMethod · 0.95
runAsMainAppMethod · 0.95
setAppMainEntryFunction · 0.90

Tested by

no test coverage detected