본문 바로가기

iOS/Swift16

Eliminate data races using Swift Concurrency https://developer.apple.com/wwdc22/110351 Eliminate data races using Swift Concurrency - WWDC22 - Videos - Apple Developer Join us as we explore one of the core concepts in Swift concurrency: isolation of tasks and actors. We'll take you through Swift's... developer.apple.com 이전 Swift Concurrency WWDC 정리에 이어 오늘은 Swift Concurrecy를 통해 Data race를 제거하는 방법을 전체적인 관점에서 정리해 보겠습니다. 이번 WWDC에서는 동시성의 세계를 동시.. 2023. 11. 23.
Beyond the basic of structured concurrency https://developer.apple.com/wwdc23/10170 Beyond the basics of structured concurrency - WWDC23 - Videos - Apple Developer It's all about the task tree: Find out how structured concurrency can help your apps manage automatic task cancellation, task priority... developer.apple.com 목차 Task hierarchy Task cancellation Task priority Task group patterns Task-local values Task traces Task hierarchy Stru.. 2023. 11. 9.
Swift concurrency: Behind the scenes https://developer.apple.com/videos/play/wwdc2021/10254/ Swift concurrency: Behind the scenes - WWDC21 - Videos - Apple Developer Dive into the details of Swift concurrency and discover how Swift provides greater safety from data races and thread explosion while... developer.apple.com Threading model 나만의 뉴스 피드 리더 앱을 만들고 있다고 가정하자 이 앱을 GCD 기반에서 Swift Concurrency로 전환해 보자! 메인 스레드에서는 User Interface를 담.. 2023. 9. 13.
Protect mutable state with Swift actors https://developer.apple.com/videos/play/wwdc2021/10133/ Protect mutable state with Swift actors - WWDC21 - Videos - Apple Developer Data races occur when two separate threads concurrently access the same mutable state. They are trivial to construct, but are notoriously... developer.apple.com 동시성 프로그래밍을 할 때 근본적으로 어려운 문제 중 하나는 Data race를 피하는 것이다. Data race는 두 개의 개별 스레드가 동시에 동일한 데이터에 엑세스하고 이러한 접근 중.. 2023. 8. 31.
Swift의 분산된 Actor 소개 https://developer.apple.com/wwdc22/110356 Meet distributed actors in Swift - WWDC22 - Videos - Apple Developer Discover distributed actors — an extension of Swift's actor model that simplifies development of distributed systems. We'll explore how... developer.apple.com Swift 동시성 기반 앱을 단일 프로세스 이상으로 활용하는 방법에 대해 알아보자! Swift Actor는 동일한 프로세스에서 Row-level Data Race로부터 사용자를 보호하도록 설계되었다. 이것은 컴파일 타임에 acto.. 2023. 8. 22.
Adopting Swift Packages in Xcode https://developer.apple.com/videos/play/wwdc2019/408/ Adopting Swift Packages in Xcode - WWDC19 - Videos - Apple Developer Swift packages are a great way to organize and share code, and are now supported while building apps for all Apple platforms in Xcode 11... developer.apple.com 목차 1. Using an open source package Swift package manager를 이용해 패키지를 설치하는 과정을 설명해 주는 파트입니다. 관련 글들은 워낙 많기 때문에 생략하겠습니다... 2023. 6. 14.