Hi.
I have a ViewController, say HomeView.
It contains a TableView, say MyTable.
The table has a custom cell of class MyCell.
How can I assign delegates, protocol or whatever is needed to get a button click (addTarget method) within MyCell to trigger a function in main ViewController, HomeView?
I can't seem to use self, ParentViewController, HomeView() to get error free code.
I did manage to get the iOS Simulator to work by using 'HomeView()' instead of 'self' in the addTarget but the actual device doesn't seem to like that at all.
Thanks.