iOS 개발자 TDCIAN

  • 홈
  • 태그
  • 방명록

.subscribe { } 1

[RxSwift] .subscribe { }와 .subscribe(onNext: { })의 차이

// .subscribe { } Observable.just("Tell me something~") .subscribe { (string: Event) in print(string.element) // Optional("Tell me something~") } .disposed(by: self.disposeBag) // .subscribe(onNext: { }) Observable.just("Tell me something!") .subscribe(onNext: { (string: String) in print(string) // Tell me something! }) .disposed(by: self.disposeBag) Q. '.subscribe { }' 형태와 '.subscribe(onNext: {..

iOS/Reactive Programming in iOS 2024.03.14
이전
1
다음
더보기
프로필사진

iOS 개발자 TDCIAN

  • 분류 전체보기 (77)
    • iOS (68)
      • UIKit (15)
      • SwiftUI (9)
      • Common (34)
      • Reactive Programming in iOS (2)
      • Objective-C (8)
    • Computer Science (9)

최근글과 인기글

  • 최근글
  • 인기글

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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 31

Copyright © Kakao Corp. All rights reserved.

티스토리툴바