U-Know-Yunho / iOS

곧 터질거임
0 stars 0 forks source link

InfoTableViewCell - casts input to actorLabel #12

Open Chulkyu opened 5 years ago

Chulkyu commented 5 years ago

can't convert to type of Array

Chulkyu commented 5 years ago

var castStringArray: [String] = [] let num = model?.casts?.count ?? 0 for i in 0..<num { let castString = model?.casts?[i].actor ?? "" castStringArray.append(castString) let castArray = castStringArray.joined() cell.actorLabel.text = castArray }