skip to Main Content

UITableView cellForRowAt method is not getting executed – Ios swift

extension ArticlesViewController { func setup() { self.navigationController?.navigationBar.prefersLargeTitles = true newtworkManager?.getNews { [weak self] (results) in switch results { case .success(let data): self?.articleListVM = ArticleListViewModel(articles: data.article!) // For testing print(self?.articleListVM.articles as Any) DispatchQueue.main.async { self?.tableView.reloadData() } case .failure(let error): print(error.localizedDescription) }…

VIEW QUESTION

RxSwfit – dequeueReusableCell crash – Ios swift

So i am trying to add tableView to viewController programmatically. When getting to the driver i am crashing on the dequeueReusableCell after registering the cell. ViewController: extension NewProfileViewController { enum CellType { case header(viewModel: ImageWithLabelType) case accountBalanceCell case marketOpenCell case…

VIEW QUESTION
Back To Top
Search