감자주먹밥
close
프로필 배경
프로필 로고

감자주먹밥

  • 분류 전체보기 (83)
    • IOS (1)
      • Swift (14)
      • RxSwift (2)
      • UIKit (31)
      • SwiftUI (9)
      • Test (4)
    • 코퉤엣 (12)
    • Git (2)
    • Android (8)
  • 홈
  • 태그
  • iOS
  • Github
  • 방명록

[RxSwift] RxCocoa의 Traits - Signal, Driver, Relay

RxCocoa는 UIKit의 Rx extension 이다. UI특징 항상 UI 스레드에서만 처리해야한다. 화면을 그리다 에러가 나면 스트림이 끊어져도 에러를 처리하고 다시 돌아야함. RxCocoa의 Traits는 위 조건을 지키면서 UI를 처리할 수 있다. RxCocoa의 Traits를 알아보자! RxRelay Subject와 같지만 에러가 나도 끊어지지 않고 무시. onNext 이벤트만 존재하고, dispose를 통해 종료할 수 있다. 실시간으로 UI를 변경해야할 때 Subject 대신에 Relay를 쓴다. Relay에는 PublishRelay와 BehaviorRelay가 있다. 특성은 PublishSubject, BehaviorSubject 와 동일하다. PublishRelay는 초기값이 없고 구독한..

  • format_list_bulleted IOS/RxSwift
  • · 2022. 12. 31.
  • textsms
[RxSwift] 카테고리별 RxSwift 정리

[RxSwift] 카테고리별 RxSwift 정리

GitHub - ReactiveX/RxSwift: Reactive Programming in SwiftReactive Programming in Swift. Contribute to ReactiveX/RxSwift development by creating an account on GitHub.github.com ReactiveX - IntroReactiveX ReactiveX is a library for composing asynchronous and event-based programs by using observable sequences. It extends the observer pattern to support sequences of data and/or events and adds opera..

  • format_list_bulleted IOS/RxSwift
  • · 2022. 12. 29.
  • textsms
  • navigate_before
  • 1
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (83)
    • IOS (1)
      • Swift (14)
      • RxSwift (2)
      • UIKit (31)
      • SwiftUI (9)
      • Test (4)
    • 코퉤엣 (12)
    • Git (2)
    • Android (8)
최근 글
인기 글
태그
  • #UIKit
  • #tableView
  • #ios
  • #코딩테스트
  • #Kotlin
  • #swiftUI
  • #android
  • #programmers
  • #SWIFT
  • #백준
최근 댓글
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바