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
- tableView
- Protocol
- swiftUI
- 리펙토링
- UITextView
- Clean Code
- SWIFT
- ios
- ribs
- RxCocoa
- 리팩토링
- 리펙터링
- Human interface guide
- rxswift
- UICollectionView
- collectionview
- Refactoring
- combine
- 애니메이션
- HIG
- Observable
- Xcode
- map
- 스위프트
- clean architecture
- uitableview
- 클린 코드
- uiscrollview
- MVVM
- swift documentation
Archives
- Today
- Total
목록Interface Listner (1)
김종권의 iOS 앱 개발 알아가기
[iOS - swift] 3. RIBs의 구조, RIB 생성, attach/detach 흐름
Delegate 기초 개념 데이터를 주는 쪽에서 클래스 내부에 protocol을 선언, 데이터를 받는 쪽에서 protocol 구현 ex) LoggedOutInteractor의 LoggedOutRouting과 같이, 클래스 내부에 프로토콜을 선언하는 경우 RIBs에서 버튼을 탭할때 데이터를 보내는 기능을 구현할 경우 VC -> Interactor로 데이터 보내기: ViewController의 PresentableListener에 tap() 함수 선언 Interactor에서 PresentableListener 프로토콜 구현 VC에서 버튼 이벤트가 발생하는 경우 프로퍼티로 선언된 PresentableListener객체의 함수 실행 parent와 child간 데이터 교환 child -> parent: Inter..
Architecture (swift)/RIBs
2021. 4. 20. 00:17