I've been through some topics on SO, but I can't figure out how to use protocols properly for passing variables along to the parent view.
Basically, I've got a tableListView, which is a normal UIViewController, but with UITableViewDataSource and UITableViewDelegate attached to it so the view contains a table.
When pressing on an item in that table, the user moves along to detailView. I'd like to see how a specific value, say a String, can be passed from detailView to the tableListView (so I can mark a few cells, based on that String).
Anyone having a concrete example of doing this? You'd be the best <3