title: working of main.m in iphone programing
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7998342/is-there-any-reason-to-modify-the-main-m-file-in-your-ios-applications">Is there any reason to modify the main.m file in your iOS applications?</a>  </p>
  </blockquote>
  
  
  
  <p>I am new in the iphone applications development and I want to know why we don't actively use the main.m file in the iphone programming. I saw in the many books the following usage: </p>
  
  <pre><code>    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:
  
  
  
      int main(int argc, char *argv[]) 
      {
      NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
      int retVal = UIApplicationMain(argc, argv, nil, nil);
      [pool release];
      return retVal;
      }
  </code></pre>