반응형
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 | 31 |
Tags
- RxCocoa
- @EnvironmentObject
- ios14
- IOS
- @Environment
- Xcode
- Operater
- init?
- Operators
- NullObject
- graphql
- NavigationLink
- SwiftUI
- operator
- Creating Operators
- nestjs
- @Binding
- vim
- nonisolated
- URL(string:)
- RFC1738/1808
- SWIFT
- @State
- subject
- dismiss
- Bug
- init
- RxSwift
- swift6
- typeorm
Archives
- Today
- Total
목록from (1)
Tunko Development Diary
RxSwift) Creating Operators 1. (just, of, from, range, generate)
옵저버블을 생성하는 연산자 입니다. Just let disposeBag = DisposeBag() let element = "👍" Observable.just(element) .subscribe { event in print(event)} .disposed(by: disposeBag) Observable.just(["👍", "👊", "👎"]) .subscribe { event in print(event)} .disposed(by: disposeBag) 출력 next(👍) completed next(["👍", "👊", "👎"]) completed Just 연산자는 옵저버블을 생성하면서 요소를 방출합니다. 배열로 된 요소도 한번에 방출하게 됩니다. Of let disposeBag = DisposeBag() ..
카테고리 없음
2022. 5. 31. 15:21