job.answiz.com
  • 0
Votes
name
name Punditsdkoslkdosdkoskdo

What is the entry point of swift code execution?

There is no main() method in swift. The program must start the execution from somewhere. So what is the entry point of swift code execution and how is it decided?

In the AppDelegate.swift file you can see @UIApplicationMain
The AppDelegate is the initial entry file.

Basically: main.m and AppDelegate.m are kinda merged in Swift to just AppDelegate.swift

  • 0
Reply Report