티스토리 뷰

공부해야겠단 생각한 지는 꽤 오래되었지만 제대로 진도를 나가지 못했던 (수학의 정석 집합 부분만 너덜한 것처럼..) RxSwift를 제대로 공부하고 정리해보려고 합니다!
먼저 RxSwift란, Swift로 구현되어 iOS 앱 개발 등에 활용할 수 있는 Reactive Extensions 표준입니다!
그럼 ReactiveX는 뭘까요? ReactiveX 공식 홈페이지에서
"ReactiveX is a library for composing asynchronous and event-based programs by using observable sequences. "
ReactiveX는 관찰 가능한 시퀀스를 사용하여 비동기 및 이벤트 기반 프로그램을 구성하기 위한 라이브러리라고 설명합니다.
즉, RxSwift는 Swift를 기반으로 반응형 프로그래밍을 사용할 수 있게 도와주는 라이브러리라고 할 수 있습니다!
Rx를 사용하면 아래와 같은 장점이 있다고 합니다.
- Composable <- Because Rx is composition's nickname
- Reusable <- Because it's composable
- Declarative <- Because definitions are immutable and only data changes
- Understandable and concise <- Raising the level of abstraction and removing transient states
- Stable <- Because Rx code is thoroughly unit tested
- Less stateful <- Because you are modeling applications as unidirectional data flows
- Without leaks <- Because resource management is easy
그럼 RxSwift를 학습해보면서 위 장점을 직접 느껴보도록 하겠습니다!
참고:
https://reactivex.io/intro.html
https://github.com/ReactiveX/RxSwift/blob/main/Documentation/Why.md
'iOS > RxSwift' 카테고리의 다른 글
| RxSwift - Relay (0) | 2022.03.05 |
|---|---|
| RxSwift - Subject (0) | 2022.03.04 |
| RxSwift - Disposable, DisposeBag (0) | 2022.03.01 |
| RxSwift - Infallible (0) | 2022.02.28 |
| RxSwift - Observables, Observers (0) | 2022.02.27 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- rxswift
- cocoapods
- 안드로이드
- blendshape
- C++
- boj
- ios
- ARKit
- 백준
- 프로그래머스
- Swift
- SWEA
- 알고리즘
- Lottie
- coreml
- Swift unowned
- Kotlin
- 코코아팟
- rxswift6
- SwiftUI
- blendshapes
- 백준온라인저지
- UIHostingController
- 카카오인턴십
- disposeBag
- DispatchQueue
- Swift weak
- Reactivex
- GraphDB
- infallible
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함