OK I saw many forums and I did not find anything concrete with the problem that I have.
- I have a ViewController where I added a UITableView.
- The UITableView loads a UITableViewCell created as xib file
- The TableViewCell has a UITableView that in turn has a UITableViewCell created also as a xib file.
This is how load the firts UITableViewCell inside the Firts UITableView. The load in ViewController:
tableDetails.delegate = self tableDetails.dataSource = self tableDetails.register(UITableViewCell.self, forCellReuseIdentifier: "DepartureDetailTableViewCell")
The problem is that I do not know how I'm going to load the Second UITableViewCell inside the Second UITableView in xib file from the ViewController. Any help?. And also, how do this for the Second UITableView/UITableViewCell.
PD.: See this tutorial, but he use prototype cell inside ViewController: https://www.youtube.com/watch?v=znGd5kyIdgM
Please Help!
UPDATE:
OK i solve the problem with @Abdelahad Darwish solution! but i have another problem...when load the DepartureInsideTableViewCell in DepartureDetailTableViewCell...not show anything... it show like this:
Has to show the DepartureInsideTableViewCell in the middle of the two view "May 30, 2018 - 01:04" and "May 30, 07:47"
Any help?
UIViewController
WithTableView
, and cell ofMain TableView
have anotherTableView
withCustomCell
- Abdelahad Darwish