Questions tagged [indexpath]
167 questions
-3
votes
2 answers
Access Array of Array Index in Collectionview swift
I have 4 different arrays:
var arrayFirst = ["1"]
var arraySecond = ["2"]
var arrayThird = ["3"]
var arrayFourth = ["4"]
Created a Single Array for collection view.
var collectionArrayStr = [arrayFirst,arraySecond,arrayThird,arrayFourth]
func…

Sham Dhiman
- 1,348
- 1
- 21
- 59
-4
votes
2 answers
Can not find indexpath in scope in tableview
import UIKit
private let reuseableIdentifier = "cell"
class TableViewController: UITableViewController{
override func viewDidLoad() {
super.viewDidLoad()
…

Heli Bhadeshiya
- 19
- 7