강의

멘토링

커뮤니티

BEST
Programming

/

Mobile Application Development

Alan Swift Concurrency for Swift 6 (Part-2)

Covers Swift Concurrency from A to Z. (Part 2)

(5.0) 22 reviews

245 learners

  • allen
이론 실습 모두
swift6
iOS
Swift
concurrent
async-await
concurrency

Reviews from Early Learners

What you will gain after the course

  • Understanding Swift Concurrency with CS

  • Concept of Conventional Thread Pools, Cooperative Thread Pools, and Memory Structure

  • Task isolation / Sendable

  • Actor's Basic Concepts - Isolation / Non-Isolation

  • Actor Utilization - Atomicity/Reentrancy/Hopping/Optimization

  • Actor - Constructor/Destructor/Protocol/Inheritance/Extension Rules

  • Global Actor / MainActor

  • AsyncSequence / AsyncStream

  • Implementation of Custom Executor and Preference Concept

  • Non-Sendable Type Transfer and Function Isolation Problem

For this course, you must purchase the textbook (e-book PDF) separately.

(This course took over a year to produce the materials. Because it covers the most optimal/best content for learning and more detailed learning content than any other Swift Concurrency-related material on Earth, we ask for your understanding that we are selling the materials separately to maintain the quality of the course. Purchasing the materials is optional. It is perfectly fine to purchase only the course.)

Swift Concurrency for Swift 6 by Allen (Part -1 / Part -2 Integrated Textbook)

StoreLink: https://smartstore.naver.com/allenschool/products/11528874881
(30,000 KRW)

Even if you don't directly enroll in this course, you can purchase the textbook separately. (However, since the materials are optimized for the course, there may be content that's difficult to understand with just the textbook. If you agree to this, you can purchase only the textbook without enrolling in the course.)

Swift Concurrency for Swift 6 (Part - 2) ✍🏻

Subtitle: Properly Learning Swift Concurrency Programming to Move Forward with Swift 6


🌿🌿🌿

A solid foundation based on CS and
the detailed nuances
make the difference in skill.

🌿🌿🌿



Swift introduced new concurrency programming (Swift Concurrency) in version 5.5, and after going through step-by-step preparations, it has finally been updated to version 6. And one of the core goals of Swift 6 is to eliminate potential data races (Race Condition/Data-Races) and ensure safety by enabling the implementation of Thread-Safe code from the compilation stage.

(We are at a turning point for the gradual adoption of Swift 6.)


Therefore, this course is designed to gradually move toward Swift 6, with the goal of learning everything from A to Z related to Swift Concurrency. Please refer to the main content of this course below, and the first introductory video provides a detailed explanation of the course, so please check that as well.

(Once you complete all the content up to Part-1 / 2, you will have established the theoretical foundation for adopting Swift 6.)


It's always a personal goal for my lectures, but this course covers more detailed and in-depth content than any other Swift Concurrency course on Earth. (I believe that obsessive attention to detail and subtle differences make the difference in skill level, so I always strive to provide various code examples and well-organized materials.)

(2) Part - 2에서 주로 다루는 내용 [[SPAN_1]](본 강의) [[/SPAN_1]]⭐[[SPAN_2]]️[[/SPAN_2]]⭐[[SPAN_3]]️[[/SPAN_3]]⭐

  • Concurrent Programming: Understanding from a Computer Science Perspective (Understanding Threads/Memory Structure)

  • Data Isolation / Task Isolation / Actor Isolation (Understanding Isolation Concepts)

  • # Task Isolation and Shared Mutable State

  • Sendable Type (Data Types Safe to Share Between Threads)

  • # Complete Guide to Actors (1) Isolation/Non-isolation (2) Atomicity (3) Reentrancy (4) Actor Hopping

  • (5) Main Actor Blocking (6) Resolving Actor Conflicts

  • Global Actor and Main Actor

  • Implementing Cache with Actors: Project Example

  • AsyncSequence (Asynchronous Sequence) and AsyncStream (Asynchronous Stream)

  • Applying AsyncStream to WebSocket Project Example

  • # Sending Non-Sendable Types

  • Function (Closure) Isolation Issues - isolated (Actor)? = #isolation / @isolated(any)

  • # Implementing Custom Executors / Task Executor Preferences

  • # Reference: consume / consuming keywords The `consume` and `consuming` keywords are used in React Query (TanStack Query) to control how queries interact with cached data and manage their lifecycle. ## consume keyword The `consume` keyword is used to specify how a query should handle cached data: - **`consume: true`**: The query will "

  • Actor Grammar Rules Deep Dive - Initializers / Deinitializers / Protocols / Inheritance / Extensions

  • Transitioning from Swift 5 to Swift 6

  • Analyzing Projects Using Instruments

(1) Content mainly covered in Part - 1 (existing lectures)

  • # Proper Understanding of Task / async / await


  • The operation method of asynchronous (async) functions

  • Introduction to New Asynchronous APIs for URLSession

  • Using Continuation: Converting (1) Callback Functions / (2) Delegate Patterns to Asynchronous Approach

  • # Example Project: Converting CoreLocation Delegate Pattern to async/await This example demonstrates how to convert CoreLocation's delegate-based API to a modern async/await pattern, making location handling code more readable and maintainable. ## Traditional Delegate Pattern ```swift import CoreLocation class LocationManager: NSObject, CLLocationManagerDelegate { private let manager = CLLocationManager() private var locationContinuation: CheckedContinuation? override init() { super.init() manager.delegate = self } func requestLocation() async throws -> CLLocation { return try await withCheckedThrowingContinuation { continuation in self.locationContinuation = continuation manager.requestLocation() } } // Delegate methods func location

  • The theoretical content of structured concurrency

  • Parallel Processing - (1) async let (2) TaskGroup

  • Understanding How Task Cancellation Works (Project Examples Related to Task Cancellation)

  • Understanding the Cooperative Cancellation Model

  • Application of Structured Concurrency and Task Cancellation

  • Application of TaskGroup (Specifying the Number of Concurrent Threads - Custom Settings)

  • # Utilizing Task-Local Variables

Part-1 Course Link: https://inf.run/jXpfH

The Features of This Course

📌 The goal is to cover Swift Concurrency programming from A to Z.

📌 This serves as the foundation for writing thread-safe code at compile time (which is Swift 6's goal).

📌 This course is created by thoroughly analyzing all existing WWDC videos related to Swift Concurrency.

📌 This course was created by referencing all existing Swift Evolution documents (github).

📌 We analyze numerous overseas books, lectures, and other materials related to Concurrency to cover all content as comprehensively as possible without omission.

📌 Various Example Projects

📌 So more detailed than any Swift Concurrency course on Earth !!!!

📌 (As always with my lectures) I provide separate learning materials for the most intuitive understanding and organization.

We use the best materials for learning.

Separate textbook (full e-book PDF) available for purchase

For the most intuitive explanation possible, we provide a separate 300-page textbook.
(The textbook must be purchased separately.)

Providing various translation materials including official documentation translations

We provide translations of official documentation such as Swift 6 (Concurrency) and API Collection to help you use your learning time as efficiently as possible.

Providing various project example code materials

Not only theoretical content, but also in-depth learning by directly applying what you've learned to projects.

Theoretical learning code materials provided

A playground with various examples is provided for optimal theoretical learning.

Notes Before Taking the Course

Textbook sold separately (30,000 won)

1. Additional Materials Provided (Code materials are provided free of charge.)

  • Code materials provided /

    Project Examples Provided

  • Multiple Translations Provided (Swift 6 - Concurrency / API Collection / Migrating to Swift 6)

2. Prerequisites and Important Notes

  • The basic aspects of Swift syntax - a level where you can freely handle functions, closures, etc.

  • Basic knowledge of handling existing asynchronous callback functions, DispatchQueue, etc.

  • Experience handling network call APIs (URLSession, etc.) in Swift

  • Basic level knowledge of UIKit and SwiftUI

3. Practice Environment

  • macOS Sequoia / Xcode 16.2 or later

💌 Regarding Course Content License


The content of this course has related URLs in the PDF when I have referenced any images or materials. Except for such cases, all materials are created by me, so posting the course content on blogs and sharing the e-book textbook PDF files used as course materials are prohibited under any circumstances.

(If you violate these license-related terms, you may be held legally liable, so please be sure to take note.)

Q. Is the course available for lifetime access?

A. This is not lifetime access. This course has a 12-month access period limitation. Please take note of this. (After experiencing multiple cases of my courses being shared... and since this isn't something that generates significant income compared to the time and effort I invest... this is simply the best course-sharing prevention measure I can implement, so I ask for your generous understanding 🙏🏻)

Recommended for
these people

Who is this course right for?

  • For those who want to deeply learn Swift Concurrency

  • Those who will properly study CS content.

  • Those who want to devour WWDC videos and go even beyond!!!!!!

Need to know before starting?

  • Swift basics

  • Basic knowledge level of concurrent programming

Hello
This is

7,503

Learners

736

Reviews

303

Answers

5.0

Rating

7

Courses

iOS개발자 앨런입니다.
https://www.youtube.com/@allen_ios

"정확하게 아는 지식은, 쉽게 자신의 말로 설명할 수 있어야 한다."가 제 모토입니다.

그렇기에 제가 공부하면서 겪었던 시행착오를 쉽게 풀어내어
누구든 이해할 수 있는 언어로 지식을 공유할 수있는 개발자가 되고싶습니다.

저는 쉬운 주제로 빠른 시간 안에 겉핥기 식으로 쉽게만 가르치는 강의를 만드는 것에는 관심이 없습니다.
그런 강의는 얼마든지 빠르게 찍어내듯 만들 수 있겠지만, 결국 "좋은 개발자로 성장"하는 것은 그만큼 이론적인 기반의 밑거름이 탄탄해야 한다고 믿고 있기 때문입니다.

쉬운 강의보다는, 좋은 개발자(끊임없이 성장할 수 있는 개발자)가 되기 위해
반드시 알아야 하는 어려운 내용까지를 최대한 쉽게, 그리고 직관적으로 알려드리는 것.
그래서 제가 아닌 여러분 스스로 WHY(왜)를 고민/생각할 수 있는 밑거름을 만들어 드리는 것을 저의 강의 목표로 삼고 있습니다.

저 스스로도 내일은 더 좋은 개발자가 되자고 노력하는 만큼
제가 고민 했던 내용들을 깊이있게 전달 드리고 싶습니다.

 

면접에서 자꾸 떨어지거나, 쉬운 내용도 자신의 언어로 잘 표현하지 못하겠다는 것은 정확하게 알고 있지 않다는 의미라고도 생각합니다. 오히려 기본적인 내용, CS에 대해 "탄탄한 기본기"가 있어야, 빠르게 성장 가능하다고 믿습니다.


👇🏻문의는 아래의 이메일로 주시면 됩니다. 

we.love.code.allen@gmail.com


언어: Swift(스위프트), Python, Java, C#

Curriculum

All

71 lectures ∙ (16hr 2min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

22 reviews

5.0

22 reviews

  • ckdgnl104263님의 프로필 이미지
    ckdgnl104263

    Reviews 1

    Average Rating 5.0

    5

    31% enrolled

    • rnjsdydqkr0550님의 프로필 이미지
      rnjsdydqkr0550

      Reviews 5

      Average Rating 5.0

      5

      61% enrolled

      • jspark5626님의 프로필 이미지
        jspark5626

        Reviews 1

        Average Rating 5.0

        5

        31% enrolled

        • bsbs76055666님의 프로필 이미지
          bsbs76055666

          Reviews 1

          Average Rating 5.0

          5

          100% enrolled

          • rlatlwhd4561075님의 프로필 이미지
            rlatlwhd4561075

            Reviews 4

            Average Rating 5.0

            5

            39% enrolled

            Có vẻ như đây là tài liệu bài giảng giúp hiểu về Swift Concurrency một cách rất chi tiết, cảm ơn bạn

            $187.00

            allen's other courses

            Check out other courses by the instructor!

            Similar courses

            Explore other courses in the same field!