Application Parameters for Creating a Simple Data Grid

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

The AppDelegate.h File

@class ViewController;
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window; // Application window
@property (strong, nonatomic) ViewController *viewController; // View manager
@end

The AppDelegate.m File

#import "AppDelegate.h"
@implementation AppDelegate
- (void)dealloc {
    [_window release];
    [_viewController release];
    [super dealloc];
}
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    // Create an application window
    self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
    // Create a view manager
    self.viewController = [[[ViewController alloc] init] autorelease];
    self.window.rootViewController = self.viewController;
    // Display application window with table
    [self.window makeKeyAndVisible];
    return YES;
}
@end

See also:

Creating a Simple Data Grid