bloomLog

고정 헤더 영역

글 제목

메뉴 레이어

bloomLog

메뉴 리스트

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

검색 레이어

bloomLog

검색 영역

컨텐츠 검색

전체 글

  • [Swift] CoreML

    2024.12.25 by kimrindev

  • [RxSwift] Creating an Observable that performs work

    2024.12.24 by kimrindev

  • [RxSwift] Creating your own Observable (aka observable sequence)

    2024.12.22 by kimrindev

  • [RxSwift] Implicit Observable Guarantees

    2024.12.21 by kimrindev

  • [RxSwift] Disposing

    2024.12.18 by kimrindev

  • [RxSwift] Scheduler.2

    2024.12.16 by kimrindev

  • [RxSwift] Scheduler.1

    2024.12.12 by kimrindev

  • [RxSwift] DesignRationale

    2024.12.08 by kimrindev

[Swift] CoreML

Machine Learning머신러닝은 컴퓨터가 명시적으로 프로그래밍되지 않고도 학습할 수 있도록 하는 연구 분야입니다.기존의 프로그래밍은 컴퓨터가 수행할 모든 단계를 명시적으로 작성하는 방식입니다.예: if 문을 사용해 특정 조건에 따라 동작하도록 코드 작성.머신러닝**은 데이터를 통해 컴퓨터가 경험적으로 학습하고, 스스로 최적의 솔루션을 찾도록 합니다.주요 두가지 유형 1.Supervised Learning (지도 학습):레이블이 포함된 데이터를 사용해 모델을 훈련. 예: “이 이미지는 고양이다.“라는 정답(레이블)을 제공. 활용 사례:   이미지 분류, 음성 인식, 스팸 필터링.  2. Unsupervised Learning (비지도 학습):레이블이 없는 데이터를 사용해 숨겨진 패턴이나 군집을 탐색..

iOS/Swift 2024. 12. 25. 21:00

[RxSwift] Creating an Observable that performs work

Ok, now something more interesting. Let's create that `interval` operator that was used in previous examples. 이제 조금더 흥미로운 작업을 해보겠습니다. 이전 예제에서 사용된 interval 연산자를 직접 구현해보겠습니다. This is equivalent of actual implementation for dispatch queue schedulers func myInterval(_ interval: DispatchTimeInterval) -> Observable { return Observable.create { observer in print("Subscribed") // 글로벌 큐에..

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

[RxSwift] Creating your own Observable (aka observable sequence)

Observable 생성의 핵심개념 There is one crucial thing to understand about observables.observable에 대해서 알아야할 중요한점이 하나 있습니다. When an observable is created, it doesn't perform any work simply because it has been created. observable이 생성된다고 해서 곧바로 작업을 수행하는것은 아닙니다. 지연실행(Lazy execution) 방식으로 동작하고 단순히 작업이 어떻게 수행될지 정의하는 객체일뿐 생성만으로는 어떠한 작업도 실행되지 않으며 Observer가 구독할때 비로소 시작됨  observable은 지연 실행의 특성을 가집니다.  단순히 생성하는 것..

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

[RxSwift] Implicit Observable Guarantees

암묵적인 Observable 보장There is also a couple of additional guarantees that all sequence producers (`Observable`s) must honor.모든 시퀀스 생성자(Observable)는 반드시 준수해야 하는 몇 가지 추가적인 보장이 있습니다. It doesn't matter on which thread they produce elements, but if they generate one element and send it to the observer `observer.on(.next(nextElement))`, they can't send next element until `observer.on` method has finished..

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

[RxSwift] Disposing

There is one additional way an observed sequence can terminate. When we are done with a sequence and we want to release all of the resources allocated to compute the upcoming elements, we can call dispose on a subscription.Here is an example with the interval operator. 관찰되는 시퀀스가 종료되는 또 다른 방법이 있습니다. 시퀀스 작업이 끝났고, 다가올 요소들을 계산하는 데 할당된 모든 리소스를 해제하려는 경우, 구독(subscription)에서 dispose를 호출할 수 있습니다. 다음은 int..

iOS/RxSwift 2024. 12. 18. 21:40

[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

추가 정보

인기글

최신글

페이징

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

티스토리툴바