I\'m doing some crazy multiple documents inside a single window stuff with the document-based architecture and I\'m 95% done.
I have this two-tier document architect
Here is another version for Swift users:
func printResponderChain(_ responder: UIResponder?) {
guard let responder = responder else { return; }
print(responder)
printResponderChain(responder.next)
}
Simply call it with self to print out the responder chain starting from self.
printResponderChain(self)