반응형
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
- ios14
- Operater
- graphql
- RxSwift
- dismiss
- Xcode
- nonisolated
- RxCocoa
- Creating Operators
- NullObject
- @EnvironmentObject
- URL(string:)
- nestjs
- @Binding
- Operators
- @State
- vim
- NavigationLink
- init?
- operator
- RFC1738/1808
- init
- subject
- swift6
- IOS
- typeorm
- Bug
- @Environment
- SwiftUI
- SWIFT
Archives
- Today
- Total
목록of (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