[iOS/Point-Free] 동시성프로그래밍: Task
·
iOS/Swift
PointFree 강의 정리 내용입니다!https://www.pointfree.co/episodes/ep192-concurrency-s-future-tasks-and-cooperation#task-cooperation Episode #192: Concurrency's Future: Tasks and CooperationLet’s look at what the future of concurrency looks like in Swift. A recent release of Swift came with a variety of tools with concurrency. Let’s examine its fundamental unit in depth, and explore how they “cooperate” in..
[iOS/Point-Free] 동시성 프로그래밍: OperationQueue, CGD와 Combine
·
iOS/Swift
다음 내용은 Point-Free의 Concurrency 강의를 듣고 정리한 내용입니다!https://www.pointfree.co/episodes/ep191-concurrency-s-present-queues-and-combine Episode #191: Concurrency's Present: Queues and CombineBefore developing Swift’s modern concurrency tools, Apple improved upon threads with several other abstractions, including operation queues, Grand Central Dispatch, and Combine. Let’s see what these newer tools bro..
[iOS/Point-Free] 동시성 프로그래밍의 과거 - 스레드
·
iOS/Swift
다음 내용은 Point-Free의 Concurrency 강의를 듣고 정리한 내용입니다!https://www.pointfree.co/episodes/ep190-concurrency-s-past-threads Episode #190: Concurrency's Past: ThreadsTo better understand Swift’s concurrency tools, let’s first look to the past, starting with threads. Threads are a tool most developers don’t reach for these days, but are important to understand, and the way they solve problems reverberate e..
[RxSwift] Rx 를 사용하여시스템 권한 요청받기 (카메라, 앨범, 알림)
·
iOS/RxSwift&Combine
다음과 같은 시스템 권한 얼럿을 RxSwift를 이용하여 띄워보자! PermissionManager 라는 이름을 가진 싱글톤 클래스를 만들어 권한 확인 및 요청 관련 메서드를 관리public final class PermissionManager { public static let shared = PermissionManager() private init() { } private let disposeBag = DisposeBag() ...}권한 요청RxSwift를 사용하여 구현하려고 하기 때문에 Observable 타입을 리턴하도록 구현리턴되는 Bool타입의 데이터는 해당 권한을 허용했는지 여부이다.알림 권한 요청알림 권한 얼럿의 메세지는 시스템 내부에 정해져있다.알림에 대한 얼럿과 소리 뱃지 등의..