bloomLog

고정 헤더 영역

글 제목

메뉴 레이어

bloomLog

메뉴 리스트

  • 홈
  • 태그
  • 분류 전체보기 (28)
    • iOS (19)
      • RxSwift (14)
      • Swift (4)
    • Temporary (2)
    • 개발일기 (4)
    • 네이버 부스트캠프 (0)

검색 레이어

bloomLog

검색 영역

컨텐츠 검색

iOS/RxSwift

  • [RxSwift] Scheduler.2

    2024.12.16 by kimrindev

  • [RxSwift] Scheduler.1

    2024.12.12 by kimrindev

  • [RxSwift] DesignRationale

    2024.12.08 by kimrindev

  • [RxSwift] Basic.2

    2024.11.29 by kimrindev

  • [RxSwift] Basic.1

    2024.11.28 by kimrindev

  • [RxSwift] Obsevables aka sequence

    2024.11.27 by kimrindev

[RxSwift] Scheduler.2

Serial vs Concurrent Schedulers“직렬(Serial) 스케줄러와 병렬(Concurrent) 스케줄러” Since schedulers can really be anything, and all operators that transform sequences need to preserve additional implicit guarantees, it is important what kind of schedulers are you creating. 스케줄러는 사실 어떤 형태로든 될 수 있으며, 시퀀스를 변환하는 모든 연산자는 추가적인 암시적 보장을 유지해야 하므로, 어떤 종류의 스케줄러를 생성하는지가 중요합니다.scheduler 는 Rx에서  작업이 어디서 실행될지 결정하는 도구, Swif..

iOS/RxSwift 2024. 12. 16. 21:10

[RxSwift] Scheduler.1

Schedulers abstract away the mechanism for performing work. Schedulers는 작업 수행 메커니즘을 추상화합니다.추상화 하여 작업이 실행되는 위치(스레드, 큐 등)를 개발자가 명시적으로 선택할 수 있게 해줍니다.RxSwift에서는 스레드 작업을 쉽게 관리하고, 비동기 로직을 간단히 작성할 수 있도록 도와줍니다. Different mechanisms for performing work include the current thread, dispatch queues, operation queues, new threads, thread pools, and run loops. 작업을 수행하는 다양한 메커니즘은 다음과 같습니다:현재 스레드 (Current threa..

iOS/RxSwift 2024. 12. 12. 21:10

[RxSwift] DesignRationale

Why error type isn't generic (에러타입이 제네릭 타입이 아닌이유)enum Event { case next(Element) // next element of a sequence case error(Error) // sequence failed with error case completed // sequence terminated successfully } Let's discuss the pros and cons of    Error  being generic. If you have a generic error type, you create additional impedance mismatch between two obser..

iOS/RxSwift 2024. 12. 8. 21:10

[RxSwift] Basic.2

Basic_2If we don't use Rx but model asynchronous systems, that probably means our code is full of state machines and transient states that we need to simulate instead of abstracting away. 만약 우리가 Rx를 사용하지 않고 비동기 시스템을 모델링한다면, 그것은 아마도 우리의 코드가 추상화하는 대신 시뮬레이션해야 하는 상태 기계와 일시적인 상태로 가득 차 있다는 것을 의미할 것이다.Rx를 사용하지 않은 비동기시스템을 구현하게 될경우에 상태관리나 상태전환에 대한 케이스를 하나하나 관리해주어야하고 코드양이 많아질수록 관리해야하는 상태 및 상태전환이 많아짐에 따라서 ..

iOS/RxSwift 2024. 11. 29. 21:00

[RxSwift] Basic.1

Basic_1The equivalence of observer pattern (`Observable` sequence) and normal sequences (`Sequence`) is the most important thing to understand about Rx. RxSwift에서 Observable > 시퀀스가 일반적인 Sequence (예: 배열 등)와 어떻게 유사한지를 이해하는 것이 매우 중요합니다.   Every `Observable` sequence is just a sequence. The key advantage for an `Observable` vs Swift's `Sequence` is that it can also receive elements asynchronously. T..

iOS/RxSwift 2024. 11. 28. 21:00

[RxSwift] Obsevables aka sequence

Obsevables aka sequence( 관찰가능한것 일명 시퀀스 ) swift에서 protocol인 sequence, collection이 있다.  public protocol Collection: Sequence {} - Sequence 는 요소들을 순차적으로 접근할수있는 데이터의 나열이다. eg) Range, AnyIterator, stride  - collection은 sequence 프로토콜을 채택하고있는 모든 요소에 효율적으로 접근할수있는구조, 특정인덱스 요소에 직접 접근이 가능하고, 항상정해진 모든 요소를 갖고있다eg) Array, Dictionary, Set   즉 컬렉션은 시퀀스를 채택하고 있기에 컬렉션인 배열또한 하나의 시퀀스 인것   RxSwift 공식문서를 보다보면 항상 Sequ..

iOS/RxSwift 2024. 11. 27. 23:51

추가 정보

인기글

최신글

페이징

이전
1 2
다음
TISTORY
bloomLog © Magazine Lab
페이스북 트위터 인스타그램 유투브 메일

티스토리툴바