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