Index: test/ios/extension/ActionExtension/ActionViewController.m |
diff --git a/test/ios/extension/ActionExtension/ActionViewController.m b/test/ios/extension/ActionExtension/ActionViewController.m |
new file mode 100644 |
index 0000000000000000000000000000000000000000..27fb6a30de0a21183d50a50e22a07487453954ea |
--- /dev/null |
+++ b/test/ios/extension/ActionExtension/ActionViewController.m |
@@ -0,0 +1,45 @@ |
+// |
+// ActionViewController.m |
justincohen
2014/07/07 14:13:58
wrong header on all files.
olivierrobin
2014/07/07 14:36:36
Done.
|
+// ActionExtension |
+// |
+// Created by Olivier Robin on 6/27/14. |
+// Copyright (c) 2014 Olivier Robin. All rights reserved. |
+// |
+ |
+#import "ActionViewController.h" |
+#import <MobileCoreServices/MobileCoreServices.h> |
+ |
+@interface ActionViewController () |
+ |
+ |
+@end |
+ |
+@implementation ActionViewController |
+ |
+- (instancetype)initWithNibName:(NSString *)nibNameOrNil |
+ bundle:(NSBundle *)nibBundleOrNil { |
+ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; |
+ if (self) { |
+ // Custom initialization |
+ } |
+ return self; |
+} |
+ |
+- (void)viewDidLoad { |
+ [super viewDidLoad]; |
+} |
+ |
+- (void)didReceiveMemoryWarning { |
+ [super didReceiveMemoryWarning]; |
+ // Dispose of any resources that can be recreated. |
+} |
+ |
+- (IBAction)done { |
+ // Return any edited content to the host app. |
+ // This template doesn't do anything, so we just echo the passed in items. |
+ [self.extensionContext |
+ completeRequestReturningItems:self.extensionContext.inputItems |
+ completionHandler:nil]; |
+} |
+ |
+@end |