본문 바로가기
Mobile#Mobile#iOS조회 1

Combine란?

정의

Apple의 리액티브 프로그래밍 프레임워크. RxSwift의 공식 대안.

Combine이란?

iOS 13+의 Publisher/Subscriber 기반 리액티브 프레임워크다.

URLSession.shared.dataTaskPublisher(for: url)
  .map(\.data)
  .decode(type: User.self, decoder: JSONDecoder())
  .sink { ... }

SwiftUI와 자연스럽게 통합.

🔗 함께 보면 좋은 용어

Mobile 전체 →