Skip to content

Commit

Permalink
Initial import of sample project.
Browse files Browse the repository at this point in the history
  • Loading branch information
kirbyt committed Mar 2, 2011
1 parent f6d4427 commit f7943e9
Show file tree
Hide file tree
Showing 7 changed files with 770 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/iAdSample/Classes/AppDelegate.h
@@ -0,0 +1,19 @@
//
// iAdSampleAppDelegate.h
// iAdSample
//
// Created by Kirby Turner on 3/2/11.
// Copyright 2011 White Peak Software Inc. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AppDelegate : NSObject <UIApplicationDelegate>
{
UIWindow *window;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;

@end

73 changes: 73 additions & 0 deletions src/iAdSample/Classes/AppDelegate.m
@@ -0,0 +1,73 @@
//
// iAdSampleAppDelegate.m
// iAdSample
//
// Created by Kirby Turner on 3/2/11.
// Copyright 2011 White Peak Software Inc. All rights reserved.
//

#import "AppDelegate.h"

@implementation AppDelegate

@synthesize window;


#pragma mark -
#pragma mark Application lifecycle

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{

// Override point for customization after application launch.

[self.window makeKeyAndVisible];

return YES;
}


- (void)applicationWillResignActive:(UIApplication *)application
{
/*
Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
*/
}


- (void)applicationDidBecomeActive:(UIApplication *)application
{
/*
Restart any tasks that were paused (or not yet started) while the application was inactive.
*/
}


- (void)applicationWillTerminate:(UIApplication *)application
{
/*
Called when the application is about to terminate.
*/
}


#pragma mark -
#pragma mark Memory management

- (void)applicationDidReceiveMemoryWarning:(UIApplication *)application
{
/*
Free up as much memory as possible by purging cached data objects that can be recreated (or reloaded from disk) later.
*/
}


- (void)dealloc
{
[window release];
[super dealloc];
}


@end
37 changes: 37 additions & 0 deletions src/iAdSample/Info.plist
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSMainNibFile</key>
<string>MainWindow</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>
8 changes: 8 additions & 0 deletions src/iAdSample/Prefix.pch
@@ -0,0 +1,8 @@
//
// Prefix header for all source files of the 'iAdSample' target in the 'iAdSample' project
//

#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#endif

0 comments on commit f7943e9

Please sign in to comment.