Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Unified Diff: samples/todomvc/ios/TodoMVC/AddTodoItemViewController.mm

Issue 2035023003: Remove service-compiler related code. (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/todomvc/ios/TodoMVC/AddTodoItemViewController.h ('k') | samples/todomvc/ios/TodoMVC/AppDelegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/todomvc/ios/TodoMVC/AddTodoItemViewController.mm
diff --git a/samples/todomvc/ios/TodoMVC/AddTodoItemViewController.mm b/samples/todomvc/ios/TodoMVC/AddTodoItemViewController.mm
deleted file mode 100644
index 35fcf3c1967f0e768aa464821ebb2a075ee7361e..0000000000000000000000000000000000000000
--- a/samples/todomvc/ios/TodoMVC/AddTodoItemViewController.mm
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE.md file.
-
-#import "AddTodoItemViewController.h"
-
-@interface AddTodoItemViewController ()
-
-@property (weak, nonatomic) IBOutlet UITextField *textField;
-@property (weak, nonatomic) IBOutlet UIBarButtonItem *saveButton;
-
-@end
-
-@implementation AddTodoItemViewController
-
-- (void)viewDidLoad {
- [super viewDidLoad];
- // Do any additional setup after loading the view.
-}
-
-- (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
- // Dispose of any resources that can be recreated.
-}
-
-#pragma mark - Navigation
-
-// In a storyboard-based application, you will often want to do a little preparation before navigation
-- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
- // Get the new view controller using [segue destinationViewController].
- // Pass the selected object to the new view controller.
- if (sender != self.saveButton || self.textField.text.length <= 0) {
- self.todoItem = nil;
- return;
- }
- self.todoItem = [[TodoItem alloc] init];
- self.todoItem.itemName = self.textField.text;
- self.todoItem.completed = NO;
-}
-
-@end
« no previous file with comments | « samples/todomvc/ios/TodoMVC/AddTodoItemViewController.h ('k') | samples/todomvc/ios/TodoMVC/AppDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698