Application Parameters

Description: parameters of the application, within which a chart is created.

The AppDelegate.h File

#import <UIKit/UIKit.h>
#import "ViewController.h"
@interface AppDelegate : NSObject <UIApplicationDelegate> {
    UIWindow *m_window;
    ViewController *m_homeController;
    UINavigationController *m_navigationController;
}
@property (nonatomic, retain) UIWindow *window;
@end

The AppDelegate.mm File

#import "AppDelegate.h"
@implementation AppDelegate
@synthesize window;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    m_homeController = [ViewController new];
    m_window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
    m_window.userInteractionEnabled = YES;
    m_window.multipleTouchEnabled = YES;
    m_window.rootViewController = m_homeController;
    [m_window makeKeyAndVisible];
    return YES;
}
- (void)applicationWillTerminate:(UIApplication *)application {
    LOGIT
    [m_window release];
    [m_homeController release];
    [m_navigationController release];
    NClassFactory::cleanClassFactory();
}
- (void)dealloc {
    [super dealloc];
}
@end

See also:

Data Analysis | Displaying of Dashboard | Displaying of Express Report