title: Launch sequence of Swift app
body: <p>Any one knows the launch sequence of a swift app?. As i can see there is no <code>main</code> function in a swift application. Then who is responsible for doing this  </p>
  
  <pre><code>// Entry point of a normal iOS app
  int main(int argc, char * argv[])
  {
      @autoreleasepool {
          return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
      }
  }
  </code></pre>
  
  <p>Your application object and AppDelegate is getting created here. But for swift app i was wondering who is creating these.  </p>
  
  <p>If any one knows, share your thoughts.</p>