Im new in Swift, but I have an assigment for a class, and I could use some help.
So, basically I want to build a tableView inside the cell of another tableView, but i dont know how to pass the data from the other viewController.
Lets say I have a class named Day, with 2 attributes: Tittle and an array String named Places, i have a view controller that helps me build that Places array, and it passes onto another view controller thats supposed to create a instance Day() with the array and any title, then i want the other view controller to show a table view with the Days and inside each day its Places.
But im really lost, and when I try to do it, the data is passing but the table view is empty. And it doesnt add anything to my Day() array.
I dont know if I made myself clear enough, sorry.
Please please please help