I am in a detail view and I have added a UI button into the top most cell which is not bound to any data
If I link this button to the relevant view controller in IB for a "show" segue, the new view controller is pushed onto the stack and appears nicely.
Of course, I want to be able to prepare an object on the new view controller (a subclassed Parse PFObject in my case) so i need to intercept that call. Not surprisingly, prepareForSegue is not called so I'm at a loss where I can intercept and assign my object on the new view controller to the one on the current detail view controller.
I'm like everyone else: the more I can do in IB, the better but where would I put the code I need to make the simple assignment?