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

Side by Side Diff: samples/todomvc/ios/TodoMVC/AddTodoItemViewController.mm

Issue 1649703002: Update project authors statements to Dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 #import "AddTodoItemViewController.h" 5 #import "AddTodoItemViewController.h"
6 6
7 @interface AddTodoItemViewController () 7 @interface AddTodoItemViewController ()
8 8
9 @property (weak, nonatomic) IBOutlet UITextField *textField; 9 @property (weak, nonatomic) IBOutlet UITextField *textField;
10 @property (weak, nonatomic) IBOutlet UIBarButtonItem *saveButton; 10 @property (weak, nonatomic) IBOutlet UIBarButtonItem *saveButton;
11 11
(...skipping 20 matching lines...) Expand all
32 if (sender != self.saveButton || self.textField.text.length <= 0) { 32 if (sender != self.saveButton || self.textField.text.length <= 0) {
33 self.todoItem = nil; 33 self.todoItem = nil;
34 return; 34 return;
35 } 35 }
36 self.todoItem = [[TodoItem alloc] init]; 36 self.todoItem = [[TodoItem alloc] init];
37 self.todoItem.itemName = self.textField.text; 37 self.todoItem.itemName = self.textField.text;
38 self.todoItem.completed = NO; 38 self.todoItem.completed = NO;
39 } 39 }
40 40
41 @end 41 @end
OLDNEW
« 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