🅰Б
Size: a a a
🅰Б
MG
MG
S
KK
func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell {
let cell = collectionView.dequeueReusableCell(withReuseIdentifier: "Cell", for: indexPath)
if let vc = cell.viewWithTag(111) as? UIImageView{
vc.image = imArr[indexPath.row]
}else if let ab = cell.viewWithTag(222) as? UIPageControl{
ab.currentPage = indexPath.row
}
return cell
}
Я
eo
func UserName ( names: [String]) -> String {
var result = String()
for name in names {
result.append(name)
}
return result
}
UserName(names: ["1","2","3","3"])
I
I
A
A
MG
MG
I