回答編集履歴

2

追記

2016/03/20 15:17

投稿

_Kentarou
_Kentarou

スコア8490

test CHANGED
@@ -119,3 +119,9 @@
119
119
 
120
120
 
121
121
  ![image2](f3e2a061ae70c4a152bb5c1cdbf4585b.png)
122
+
123
+
124
+
125
+ シュミレータースクショ
126
+
127
+ ![image3](6590450f94ddd812f4c4c39f5bbb2d64.png)

1

追記

2016/03/20 15:16

投稿

_Kentarou
_Kentarou

スコア8490

test CHANGED
@@ -42,9 +42,13 @@
42
42
 
43
43
 
44
44
 
45
+ // IdentifierをStoryboardで設定したCustomCellにして CustomCellクラスを生成する
46
+
45
47
  let cell = tableView.dequeueReusableCellWithIdentifier("CustomCell", forIndexPath: indexPath) as! CustomCell
46
48
 
47
49
 
50
+
51
+ // CustomCellに配置したラベルにテキストを設定
48
52
 
49
53
  cell.label1.text = data[indexPath.row].label1
50
54
 
@@ -107,3 +111,11 @@
107
111
  }
108
112
 
109
113
  ```
114
+
115
+
116
+
117
+ ![image](3550513f22bb961b981c8a5e32b90113.png)
118
+
119
+
120
+
121
+ ![image2](f3e2a061ae70c4a152bb5c1cdbf4585b.png)