回答編集履歴

1

コード修正

2015/07/13 19:21

投稿

terushu
terushu

スコア358

test CHANGED
@@ -100,7 +100,7 @@
100
100
 
101
101
  ・・・
102
102
 
103
- textField.text = diary.content
103
+ self.textField.text = diary.content
104
104
 
105
105
  }
106
106
 
@@ -108,7 +108,7 @@
108
108
 
109
109
  func onSave(sender: AnyObject?){
110
110
 
111
- diary.content = textField.text //diaryはdiaryStocksの中のインスタンスがそのまま渡されているので、ここで書き換えれば反映される
111
+ diary.content = self.textField.text //diaryはdiaryStocksの中のインスタンスがそのまま渡されているので、ここで書き換えれば反映される
112
112
 
113
113
  }
114
114