Skip to content

Commit

Permalink
Merge branch 'master' of github.com:demosthenese/iNotify
Browse files Browse the repository at this point in the history
Conflicts:
	LICENCE.txt
	README.txt
	RELEASE NOTES.txt
	iNotify/iNotify.h
	iNotify/iNotify.m
  • Loading branch information
Nick Lockwood committed Feb 6, 2011
2 parents 36129e9 + dc98845 commit 5cbf0d9
Show file tree
Hide file tree
Showing 14 changed files with 6,048 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Classes/iNotifyAppDelegate.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// iNotifyAppDelegate.h
// iNotify
//
// Created by Nick Lockwood on 26/01/2011.
// Copyright 2011 Charcoal Design. All rights reserved.
//

#import <UIKit/UIKit.h>

@class iNotifyViewController;

@interface iNotifyAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
iNotifyViewController *viewController;
}

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

@end

55 changes: 55 additions & 0 deletions Classes/iNotifyAppDelegate.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
//
// iNotifyAppDelegate.m
// iNotify
//
// Created by Nick Lockwood on 26/01/2011.
// Copyright 2011 Charcoal Design. All rights reserved.
//

#import "iNotifyAppDelegate.h"
#import "iNotifyViewController.h"
#import "iNotify.h"


@implementation iNotifyAppDelegate

@synthesize window;
@synthesize viewController;


#pragma mark -
#pragma mark Application lifecycle

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.

// Add the view controller's view to the window and display.
[self.window addSubview:viewController.view];
[self.window makeKeyAndVisible];

//iNotify init
[iNotify appLaunched];

return YES;
}

- (void)applicationWillEnterForeground:(UIApplication *)application
{
//iNotify init
[iNotify appEnteredForeground];
}


#pragma mark -
#pragma mark Memory management

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


@end
16 changes: 16 additions & 0 deletions Classes/iNotifyViewController.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
// iNotifyViewController.h
// iNotify
//
// Created by Nick Lockwood on 26/01/2011.
// Copyright 2011 Charcoal Design. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface iNotifyViewController : UIViewController {

}

@end

66 changes: 66 additions & 0 deletions Classes/iNotifyViewController.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
//
// iNotifyViewController.m
// iNotify
//
// Created by Nick Lockwood on 26/01/2011.
// Copyright 2011 Charcoal Design. All rights reserved.
//

#import "iNotifyViewController.h"

@implementation iNotifyViewController



/*
// The designated initializer. Override to perform setup that is required before the view is loaded.
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}
*/

/*
// Implement loadView to create a view hierarchy programmatically, without using a nib.
- (void)loadView {
}
*/


/*
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
[super viewDidLoad];
}
*/


/*
// Override to allow orientations other than the default portrait orientation.
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
*/

- (void)didReceiveMemoryWarning {
// Releases the view if it doesn't have a superview.
[super didReceiveMemoryWarning];

// Release any cached data, images, etc that aren't in use.
}

- (void)viewDidUnload {
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
}


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

@end
Loading

0 comments on commit 5cbf0d9

Please sign in to comment.