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
- UICollectionView
- 리펙터링
- 스위프트
- uiscrollview
- UITextView
- 클린 코드
- MVVM
- Protocol
- swift documentation
- Clean Code
- rxswift
- ribs
- map
- HIG
- uitableview
- tableView
- Human interface guide
- Xcode
- collectionview
- Observable
- ios
- swiftUI
- Refactoring
- combine
- 리팩토링
- 리펙토링
- SWIFT
- clean architecture
- 애니메이션
- RxCocoa
Archives
- Today
- Total
목록2022/09/13 (1)
김종권의 iOS 앱 개발 알아가기
[iOS - SwiftUI] Combine 이란?
목차) Combine - 목차 링크 Combine async 작업들을 이벤트 처리 연산자로 결합하여 처리하는 방법 선언적인 프로그래밍 형태로 사용 Stream하나를 만들고 그 Stream에 필요한 operator를 덫붙여서 사용하는 선언적인 프로그래밍 방식 // 선언형 프로그래밍인 Combine 예제 코드 $username .debounce(for: 0.1, scheduler: RunLoop.main) .removeDuplicates() .map { $0.count >= 2 } .assign(to: \.valid, on: self) .store(in: &cancellableSet) 선언적인 프로그래밍이 되면서, 클로저를 이용한 콜백지옥에서 벗어날 수 있는 장점이 존재 Combine을 사용하면 이벤트 처리..
iOS Combine (SwiftUI)
2022. 9. 13. 22:23