Main File of Source Code

Description: Main file of source code for the given example.

The main.m File

#import <UIKit/UIKit.h>
#import "NuSingletonPool.h"
int main(int argc, char *argv[]) {
    NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    NuSingletonPool *singletonPool = [NuSingletonPool new];
    [[NSUserDefaults standardUserDefaults] registerDefaults:@{ @"UIUseLegacyUI": @YES }];
    int retVal = 0;
    retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
    [singletonPool release];
    [pool release];
    return retVal;
}

See also:

Data Analysis | Displaying of Dashboard | Displaying of Express Report