Skip to content

Commit

Permalink
Upgraded to the pin number to disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
alpascual committed Oct 16, 2011
1 parent 607c6b3 commit d28a6cb
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 0 deletions.
13 changes: 13 additions & 0 deletions DisableDelegate.h
@@ -0,0 +1,13 @@
//
// DisableDelegate.h
// DeviceAlarm
//
// Created by Albert Pascual on 10/16/11.
// Copyright (c) 2011 Al. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol DisableDelegate <NSObject>

@end
13 changes: 13 additions & 0 deletions RootViewController.h
@@ -0,0 +1,13 @@
//
// RootViewController.h
// DeviceAlarm
//
// Created by Albert Pascual on 10/15/11.
// Copyright (c) 2011 Al. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface RootViewController : UIViewController

@end
60 changes: 60 additions & 0 deletions RootViewController.m
@@ -0,0 +1,60 @@
//
// RootViewController.m
// DeviceAlarm
//
// Created by Albert Pascual on 10/15/11.
// Copyright (c) 2011 Al. All rights reserved.
//

#import "RootViewController.h"

@implementation RootViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}

- (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.
}

#pragma mark - View lifecycle

/*
// 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];
}
*/

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

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
// Return YES for supported orientations
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}

@end

0 comments on commit d28a6cb

Please sign in to comment.