Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Combine
- delays deallocation
- hitTest
- weak self
- readLine
- ios
- DISPATCH
- Responder chain
- Custom Class
- 전자출입
- moya
- UserDefaults
- binder
- AVCaptureSession
- Python
- reversed
- UIResponder
- 공백
- Asnyc
- URLSession
- async
- 사내배포
- swift
- 입력
- input
- vtable
- BidirectionalCollection
- MaxHeap
- ReactorKit
- RxSwift
Archives
- Today
- Total
목록Responder chain (1)
틈틈히 적어보는 개발 일기

UIResponder에 대해 자료를 알아보던 중 Responder Chain에 대한 과정을 직접 확인하고 싶어 hitTest와 point를 활용하여 디버깅을 하던 중 흥미로운 점을 발견하였습니다 그전에 Responder Chain이란? 대부분의 UIKit에서 이용할 수 있는 UI 객체들(UIApplication, UIViewController, UIView 등..)은 UIResponder를 채택하고 있는 Responder 객체인데, 이를 통해서 객체들에게 발생한 이벤트를 처리할 수 있게 됩니다. 이벤트가 발생하면 UIKit은 Responder에게 이벤트를 전달하게 되는데 해당 Responder가 이벤트를 처리하지 않을 경우에는 다른 상위의 Responder로 이벤트를 전달합니다. -> 즉 "내가 처리할 ..
📱 iOS, Swift
2022. 3. 6. 16:18