I am trying to figure out how to pass data from a tapped tableview cell into a child view controller in a tab bar view controller. This is what I currently have:
override func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?){if segue.identifier == "edit"{let cell = sender as! UITableViewCelllet indexPath = tableView.indexPathForCell(cell)let roomController : RoomViewController = segue.destinationViewController as! RoomViewControllerlet room : Rooms = frc.objectAtIndexPath(indexPath!) as! RoomsroomController.room = room}}}I know conceptually I need to pass the data thru my tabview controller, but I'm not suer how to do this.
Thanks in advance