回答編集履歴
1
コード訂正
test
CHANGED
@@ -10,9 +10,11 @@
|
|
10
10
|
|
11
11
|
let diary = diaries[indexPath.row]
|
12
12
|
|
13
|
-
|
13
|
+
var appDelegate:AppDelegate = UIApplication.sharedApplication().delegate as! AppDelegate
|
14
14
|
|
15
|
+
appDelegate.diaryContent = diary.content
|
16
|
+
|
15
|
-
diaryDate = diary.date
|
17
|
+
appDelegate.diaryDate = diary.date
|
16
18
|
|
17
19
|
performSegueWithIdentifier("ToDetailDiaryViewController", sender: nil)
|
18
20
|
|