summaryrefslogtreecommitdiff
path: root/deps/gyp/test/ios/extension/ActionExtension/ActionViewController.m
diff options
context:
space:
mode:
Diffstat (limited to 'deps/gyp/test/ios/extension/ActionExtension/ActionViewController.m')
-rw-r--r--deps/gyp/test/ios/extension/ActionExtension/ActionViewController.m31
1 files changed, 31 insertions, 0 deletions
diff --git a/deps/gyp/test/ios/extension/ActionExtension/ActionViewController.m b/deps/gyp/test/ios/extension/ActionExtension/ActionViewController.m
new file mode 100644
index 0000000000..d37bacdae1
--- /dev/null
+++ b/deps/gyp/test/ios/extension/ActionExtension/ActionViewController.m
@@ -0,0 +1,31 @@
+// Copyright (c) 2014 Google Inc. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "ActionViewController.h"
+#import <MobileCoreServices/MobileCoreServices.h>
+
+@interface ActionViewController ()
+
+@end
+
+@implementation ActionViewController
+
+- (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