回答編集履歴

4

修正

2016/08/13 16:48

投稿

_Kentarou
_Kentarou

スコア8490

test CHANGED
@@ -148,12 +148,10 @@
148
148
 
149
149
  ```
150
150
 
151
+ ![イメージ説明](ab611ce074290c2b246373ebb1b6eec5.png)
151
152
 
152
153
 
153
154
 
154
-
155
- ![イメージ説明](362ca4f10ca57b509bb377cf5c4543f9.png)]
155
+ ![イメージ説明](362ca4f10ca57b509bb377cf5c4543f9.png)
156
156
 
157
157
 
158
-
159
-

3

修正

2016/08/13 16:48

投稿

_Kentarou
_Kentarou

スコア8490

test CHANGED
@@ -147,3 +147,13 @@
147
147
  }
148
148
 
149
149
  ```
150
+
151
+
152
+
153
+
154
+
155
+ ![イメージ説明](362ca4f10ca57b509bb377cf5c4543f9.png)]
156
+
157
+
158
+
159
+

2

修正

2016/08/13 16:44

投稿

_Kentarou
_Kentarou

スコア8490

test CHANGED
@@ -65,3 +65,85 @@
65
65
 
66
66
 
67
67
  ![s](7a4022629347910c9eec84133b3ef256.png)
68
+
69
+
70
+
71
+
72
+
73
+ 回答追記
74
+
75
+ ---
76
+
77
+
78
+
79
+ ```swift
80
+
81
+ import UIKit
82
+
83
+
84
+
85
+ class ViewController: UIViewController {
86
+
87
+
88
+
89
+ @IBOutlet weak var label: UILabel!
90
+
91
+ var labelText: String = ""
92
+
93
+
94
+
95
+ override func viewDidLoad() {
96
+
97
+ super.viewDidLoad()
98
+
99
+
100
+
101
+ label.text = labelText
102
+
103
+ }
104
+
105
+ }
106
+
107
+
108
+
109
+
110
+
111
+ class TableViewController: UITableViewController {
112
+
113
+
114
+
115
+ var text = ""
116
+
117
+
118
+
119
+ override func viewDidLoad() {
120
+
121
+ super.viewDidLoad()
122
+
123
+ }
124
+
125
+
126
+
127
+ @IBAction func zenbun(sender: AnyObject) {
128
+
129
+ text = "test"
130
+
131
+ performSegueWithIdentifier("next", sender: nil)
132
+
133
+ }
134
+
135
+
136
+
137
+ override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
138
+
139
+ if let viewC = segue.destinationViewController as? ViewController {
140
+
141
+ viewC.labelText = text
142
+
143
+ }
144
+
145
+ }
146
+
147
+ }
148
+
149
+ ```

1

修正

2016/08/13 16:19

投稿

_Kentarou
_Kentarou

スコア8490

test CHANGED
@@ -55,3 +55,13 @@
55
55
  }
56
56
 
57
57
  ```
58
+
59
+
60
+
61
+ 確認手順
62
+
63
+ ---
64
+
65
+
66
+
67
+ ![s](7a4022629347910c9eec84133b3ef256.png)