OLD | NEW |
---|---|
(Empty) | |
1 // | |
2 // ActionViewController.m | |
justincohen
2014/07/07 14:13:58
wrong header on all files.
olivierrobin
2014/07/07 14:36:36
Done.
| |
3 // ActionExtension | |
4 // | |
5 // Created by Olivier Robin on 6/27/14. | |
6 // Copyright (c) 2014 Olivier Robin. All rights reserved. | |
7 // | |
8 | |
9 #import "ActionViewController.h" | |
10 #import <MobileCoreServices/MobileCoreServices.h> | |
11 | |
12 @interface ActionViewController () | |
13 | |
14 | |
15 @end | |
16 | |
17 @implementation ActionViewController | |
18 | |
19 - (instancetype)initWithNibName:(NSString *)nibNameOrNil | |
20 bundle:(NSBundle *)nibBundleOrNil { | |
21 self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; | |
22 if (self) { | |
23 // Custom initialization | |
24 } | |
25 return self; | |
26 } | |
27 | |
28 - (void)viewDidLoad { | |
29 [super viewDidLoad]; | |
30 } | |
31 | |
32 - (void)didReceiveMemoryWarning { | |
33 [super didReceiveMemoryWarning]; | |
34 // Dispose of any resources that can be recreated. | |
35 } | |
36 | |
37 - (IBAction)done { | |
38 // Return any edited content to the host app. | |
39 // This template doesn't do anything, so we just echo the passed in items. | |
40 [self.extensionContext | |
41 completeRequestReturningItems:self.extensionContext.inputItems | |
42 completionHandler:nil]; | |
43 } | |
44 | |
45 @end | |
OLD | NEW |