質問編集履歴
1
コード追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,4 +5,17 @@
|
|
5
5
|
とエラーになります。
|
6
6
|
|
7
7
|
**コード**
|
8
|
-
self.autoScrollLabel.text = ViewController.movieTitleList[index]
|
8
|
+
self.autoScrollLabel.text = ViewController.movieTitleList[index]
|
9
|
+
|
10
|
+
|
11
|
+
```customCellClass.swift
|
12
|
+
//起動時の処理
|
13
|
+
func cellDispayControl(indexPath: IndexPath) {
|
14
|
+
let index = ViewController.koukaibiList[indexPath.section][indexPath.row]
|
15
|
+
self.autoScrollLabel.text = ViewController.movieTitleList[index]
|
16
|
+
//セット
|
17
|
+
let imageData = try? Data(contentsOf: ViewController.moviePosterPathList[index])
|
18
|
+
let image = UIImage(data:imageData!)
|
19
|
+
self.cellUIimageView.image = image
|
20
|
+
}
|
21
|
+
```
|