rob-brown/RBStoryboardLink — pull request #26 by sirenum (2014-05-03 12:47:45+00:00)
Title: Limit method forwarding to specific method

I think the method forwarding to child view controllers in _RBStoryBoardLink.m_ should be limited to `canPerformUnwindSegueAction:fromViewController:withSender:` since simply forwarding every method is not very clean and can cause problems in at least one specific case.
Imagine one of the child view controllers implements an unwind action but overrides `canPerformUnwindAction:...` to return *NO* in some specific cases when it wants the unwind to be handled by a VC further up the stack. When the request arrives at the link VC it will call `respondsToSelector:` with the unwind action on itself and, since the call is forwarded down to the child VC, will respond with *YES*. The system will then attempt to perform the unwind on the link VC instead of going further up the chain.