Created
October 24, 2018 13:59
-
-
Save salexkidd/77cac8c35705ab9fa9f154da84ae5af6 to your computer and use it in GitHub Desktop.
Chase responder chain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var res: NSResponder? = self.nextResponder | |
print("---------------------------------------------") | |
while(true) | |
{ | |
if res == nil { break } | |
print(res) | |
res = res?.nextResponder | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment