skip to Main Content

Can not find indexpath in scope in tableview – Ios swift

import UIKit private let reuseableIdentifier = "cell" class TableViewController: UITableViewController{ override func viewDidLoad() { super.viewDidLoad() tableView.register(UITableViewCell.self,forCellReuseIdentifier: reuseableIdentifier) } override func numberOfSections(in tableView: UITableView) -> Int { // #warning Incomplete implementation, return the number of sections return 0 } override func…

VIEW QUESTION

how to populate array of dictionary values to tableview?-swift – Ios swift

I have a multidimensional array var sectionArray = [ ["sectionName":"Time","sectionData":[["fname":"true detective","date":"may 20"],["fname":"abbas","date":"may 10"]],"expanaded":false],["sectionName":"Message","sectionData":[["movie":"true","event":"Bring food"]] from this array I have to get fname keys value where fname is the value of the key sectionData.how will I achieve that? I have to…

VIEW QUESTION
Back To Top
Search