1. Gesture Recognizer Example 상황 설명: 상위 뷰로 GreyView(customized)가 있고 이 뷰의 하위 뷰로 MyLabel, MyButton, MyTextField(역시 모두 cutomized)가 있다. 앱 화면 Tap Gesture Recognizer가 참조하는 객체는 MyTextField 객체로 두었고, send Action 설정은 ViewController로 두었다. <img width="360" alt="스크린샷 2020-03-01 오후 1 32 17" src="https://user-images.github
1. Responder Chain Example 상황 설명 : 상위 뷰(superview)로 GreyView(customized)가 있고 이 뷰의 하위 뷰(subview)로 MyLabel, MyButton, MyTextField(역시 모두 cutomized)가 있다. 아래 코드처럼 responder chain의 responder가 될 수 있는 AppDelegate, ViewController, GreyView, MyLabel, MyButton에 모두 touchesBegan을 재정의함.(MyTextField는 현재 상황과 관계 없으므로 제외함) 뷰들의 hierarchy