summaryrefslogtreecommitdiff
path: root/Modal/Modal/ModalViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Modal/Modal/ModalViewController.m')
-rw-r--r--Modal/Modal/ModalViewController.m42
1 files changed, 42 insertions, 0 deletions
diff --git a/Modal/Modal/ModalViewController.m b/Modal/Modal/ModalViewController.m
new file mode 100644
index 0000000..27ed31d
--- /dev/null
+++ b/Modal/Modal/ModalViewController.m
@@ -0,0 +1,42 @@
+//
+// ModalViewController.m
+// Modal
+//
+// Created by mo khan on 2013-05-23.
+// Copyright (c) 2013 mo khan. All rights reserved.
+//
+
+#import "ModalViewController.h"
+
+@interface ModalViewController ()
+
+@end
+
+@implementation ModalViewController
+
+- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
+{
+ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+ if (self) {
+ // Custom initialization
+ }
+ return self;
+}
+
+- (void)viewDidLoad
+{
+ [super viewDidLoad];
+ // Do any additional setup after loading the view from its nib.
+}
+
+- (void)didReceiveMemoryWarning
+{
+ [super didReceiveMemoryWarning];
+ // Dispose of any resources that can be recreated.
+}
+
+- (IBAction)removeModalView:(id)sender
+{
+ [self dismissViewControllerAnimated:YES completion:nil];
+}
+@end