-
Combine vs RxSwiftRxSwift 2021. 12. 13. 11:12
https://tv.naver.com/v/19397553
RxSwift, Combine 둘 중에 어느 것을 공부해야 할까요
NAVER Engineering | 발표자: 김용수 (NAVER) 발표월: 2021.03. 개요 RxSwift와 Combine이 그렇게 비슷하다는데, 지금 타이밍에 어느 것을 공부하는 것이 좋을지? 에 대하여 얘기를 나누어 보았습니다.
tv.naver.com
정답이 없는 얘기지만 위 영상을 보고 생각하기
현업에 도입하기에 가장 중요한점 : + SwiftUI도 최소버전이 ios13임
iOS 13 최소버전이 되는지
아래 Combine 예제를 보면 Rx와 매우 흡사하고 개념도 비슷하다는걸 알 수 있다.
let eventProvider = MoyaProvider<Service>() eventProvider.requestPublisher(.getInfo(model: dependency.eventHomeRepository.requestModel)) .filterSuccessfulStatusCodes() .map(Model.self) .sink { completion in guard case let .failure(error) = completion else { return } print(error) } receiveValue: { [weak self] response in self?.presenter.updateList(response) } .store(in: &cancellables)
++ Combine에 대해서... https://kkimin.tistory.com/65
Combine
WWDC 2019에서 발표했던 Combine 최소버전이 ios 13 이기때문에 아직 바로 사용할 순 없지만, 무엇인지 알아보자. Combine이란? https://developer.apple.com/documentation/combine Combine은 비동기적인 이벤트..
kkimin.tistory.com
728x90'RxSwift' 카테고리의 다른 글
RxSwift 를 사용하는 이유, 선언적 프로그래밍에 대해 (+선언적 UI) (0) 2021.12.16 RxSwift Error Handling (0) 2021.08.10 amb Operator (0) 2021.08.10 Scheduler (0) 2021.08.10 Combining Operators (0) 2021.08.06