Alan Swift Concurrency for Swift 6 (Part-1)

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

(5.0) 73 reviews

594 learners

Level Basic

Course period 24 months

iOS
iOS
Swift
Swift
concurrent
concurrent
async-await
async-await
concurrency
concurrency
iOS
iOS
Swift
Swift
concurrent
concurrent
async-await
async-await
concurrency
concurrency

Reviews from Early Learners

5.0

5.0

김동현

100% enrolled

I think this is a must-take course for learning Swift Concurrency. By comparing existing GCD with Swift Concurrency, I was able to clearly understand how the perspective on asynchronous programming has changed from the past to the present, and the explanation of structured concurrency was greatly helpful. Please continue to provide many great courses in the future!

5.0

Bana

63% enrolled

The content is so good.... I hope Alan will film more iOS lectures He clearly emphasizes important concepts and explains them repeatedly, so I think it's easy to remember It's such a good lecture that I want to listen to it alone, but I'll leave a review 😊😊

5.0

qowiedncz

43% enrolled

I think you explain things so well and in a way that is easy to understand. I am a professional in the field and I am getting a lot of help. I am truly, truly grateful!

What you will gain after the course

  • Swift Concurrency (Swift Concurrent Programming)

  • Task / async / await (asynchronous processing)

  • New async/await-related API

  • How to Use Continuation (Continuation)

  • Structured Concurrency (Structured Concurrency / Parallel Processing)

  • async let / TaskGroup (parallel processing techniques)

  • Cancellation (Cancel Task)

  • How to Use Task-Local (Task-Local Variables)

  • (Task Cancellation) Project Application Cases

⛔ You must purchase the course materials (e-book PDF) separately. ⛔

(This course took more than a year to create the textbook. Please understand that, to maintain the quality of the course, we sell the textbook separately because it contains the optimal and highest-quality content for learning, as well as more detailed material on Swift Concurrency than any other content on Earth. Purchasing the textbook is optional. You can purchase just the course without any problem.)


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

Seller link: https://smartstore.naver.com/allenschool/products/11528874881
(30,000 won)

Even if you do not take this course directly, you can purchase the textbook separately. (However, since it is optimized for the purposes of the course, some content may be difficult to understand if you purchase only the textbook. If you agree to this, you may purchase just the textbook without purchasing the course.)

Swift Concurrency for Swift 6 (Part 1) ✍🏻

Subtitle: Properly learning Swift Concurrency programming to move forward with Swift 6


🌿🌿🌿

Solid fundamentals based on computer science and
the subtle differences in detail
are what I believe create differences in skill.

🌿🌿🌿



Since the introduction of new concurrency programming (Swift Concurrency) in version 5.5, Swift has undergone step-by-step preparation and has finally been updated to version 6. One of the core goals of Swift 6 is to eliminate the potential for data races (Race Condition/Data-Races) in code and ensure safety by enabling the implementation of thread-safe code from the compilation stage.

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


Therefore, this course was designed with the goal of gradually moving toward Swift 6 and learning everything related to Swift Concurrency—in other words, everything from A to Z. Please refer to the main content of this course below. I also explain the course in detail in the introduction video for the first lecture, so please refer to that as well.

(Upon completing Part-2, I believe you will have built a theoretical foundation for adopting Swift 6.)


It has always been a personal goal of mine, but this course covers more detailed and in-depth content than any other Swift Concurrency course in the world. (I believe that the fine details, down to the point of obsession, make the difference in skill, so I always strive to provide a variety of code examples and well-organized materials.)

What this course covers 🕵🏻‍♂️👨🏻‍🎓

(1) Main topics covered in Part - 1 (this course) ⭐️⭐️⭐️

  • A Proper Understanding of Task / async / await


  • How asynchronous (async) functions work

  • Introduction to New Asynchronous APIs Related to URLSession

  • Using Continuations (1) Converting callback functions / (2) Converting the delegate pattern to an asynchronous approach

  • Project example: Converting the delegate-based approach of the Location app (CoreLocation) to async/await

  • Theoretical content on structured concurrency

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

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

  • Understanding the Cooperative Cancellation Model

  • Applications of Structured Concurrency and Task Cancellation

  • Applications of TaskGroup (Specifying the Number of Concurrent Threads – Custom Configuration)

  • Using Task-Local Variables


(2) (Coming soon) Topics that will be covered primarily in Part 2 (separate course)

  • Understanding concurrent programming from a Computer Science perspective (understanding thread/memory structures)

  • Data Isolation / Task Isolation / Actor Isolation (Understanding the Concept of Isolation)

  • Task Isolation and Shared Mutable State (Shared Data)

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

  • Mastering Actors (1) Isolation/Non-Isolation (2) Atomicity (3) Reentrancy (4) Actor Hopping

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

  • Global Actors and the Main Actor

  • Implementing a cache with an actor — Project Example

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

  • Applying AsyncStream to WebSockets — Project Example

  • Transferring (sending) a Non-Sendable type

  • Isolation-related issues with functions (closures) — isolated (Actor)? = #isolation / @isolated(any)

  • Implementing a Custom Executor / Task Executor Preference

  • (Reference) The consume / consuming keywords

  • Advanced Actor Syntax Rules - Initializers / Deinitializers / Protocols / Inheritance / Extensions

  • Moving from Swift 5 to Swift 6

  • Analyze the project using Instruments



    Part-2 Course Link: https://inf.run/TyZcJ


Features of This Course

📌 We aim to cover Swift Concurrency programming from A to Z.

📌 It lays the foundation for writing safe code across multiple threads from compile time onward (the goal of Swift 6).

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

📌 We analyze numerous international books, courses, and other resources related to Concurrency to cover as much of the content as possible without leaving anything out.

📌 Various example projects

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

📌 (As has always been the case with my courses,) I provide separate study materials for the most intuitive understanding and organized learning possible.

The best materials for learning are provided.

Separate textbook (e-book PDF) available for purchase

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

Various translated materials, including translations of official documentation

We provide translations of the official Swift 6 (Concurrency) documentation, API Collection official documentation, and more to help you make the most efficient use of your study time.

A variety of project example code resources provided

In addition to theoretical content, deepen your learning by applying what you learn directly to projects.

Theory learning code materials provided

Playground code materials featuring a variety of examples are provided for optimal theoretical learning.

Notes Before Enrolling in the Course

Textbook sold separately (₩30,000)

  • For the course - E-book PDF (textbook) sold separately (Combined Part-1 / Part-2 textbook)

  • Link: https://forms.gle/b1VH8mhAn7dvWfr3A
    (Code materials other than the textbook are provided free of charge.)

1. Learning Materials Provided

  • Code materials provided /

    Project examples provided

  • Multiple translations provided (Swift 6 - Concurrency / API Collection / Migrating to Swift 6)

2. Prerequisites and Notes

  • Basic knowledge of Swift syntax—being able to work comfortably with functions, closures, and so on.

  • Basic knowledge of working with conventional asynchronous callback functions, DispatchQueue, and similar tools

  • Experience working with network-calling APIs in Swift, such as URLSession.

  • Basic knowledge of UIKit and SwiftUI

3. Practice Environment (Can be taken in the following environment or higher)

  • macOS Sequoia / Xcode 16 (The theoretical lessons using Playgrounds are also possible on Xcode 15.3 ~ 15.4)


💌Regarding the license for the course content


For the content of this course, whenever I referred to even a small amount of material such as images, the PDF includes the relevant URL. Except in such cases, all materials were created by me, so under no circumstances may you include the content of this course in a blog or share the PDF file of the e-book used as the course material.

(Please be aware that violating these license terms may result in legal liability.)

Q. Is lifetime access to the course included?

A. This is not lifetime access. This course has a 24-month (2-year)access period. Please keep this in mind. (After experiencing several instances of people sharing my course... and since I cannot make a large amount of money compared to the time and effort I put in... this is simply the best measure I can take to prevent course sharing, so I ask for your kind understanding 🙏🏻)

If you have taken the syntax bootcamp before..? 🙋🏻‍♂️🙋🏻‍♀️

If you have previously taken my Swift Master School (2-month course), please contact me on Slack.. and I will provide you with a free pass to this Part-1 course. (Please check the general announcements on the bootcamp Slack.)

Recommended for
these people

Who is this course right for?

  • For those who want to properly learn Swift Concurrency programming

  • Those who want to learn concurrent programming deeply and properly from a theoretical perspective.

  • Anyone who wants to go beyond the WWDC videos and really master it!!!!!!

Need to know before starting?

  • Fundamentals of the Swift Language

Hello
This is allen

Inflearn Verified

7,706

Learners

778

Reviews

315

Answers

5.0

Rating

7

Courses

I'm Allen, an iOS Developer.
https://www.youtube.com/@allen_ios

"Knowledge that is accurately understood must be easily explainable in one's own words." is my motto.

Therefore, I want to be a developer who can share knowledge in a language anyone can understand by simplifying the trial and error I experienced while studying.


I am not interested in creating courses that only teach easy topics superficially in a short amount of time.
While such courses can be churned out quickly, I believe that ultimately, "growing into a good developer" requires a solid foundation of theoretical knowledge.

Rather than just an easy course, my goal is to teach even the difficult concepts that one
must know to become a good developer (a developer who can grow continuously) as easily and intuitively as possible.
Thus, my objective is to build a foundation that allows you, not me, to contemplate and think about the "WHY" yourself.

Just as I strive to become a better developer tomorrow,
I want to convey the things I have pondered in great depth.

 

I believe that repeatedly failing interviews or being unable to express even simple concepts in your own words means you do not have a precise understanding of them. On the contrary, I believe that one can grow rapidly only when they have a "solid foundation" in basic concepts and CS.


👇🏻For inquiries, please contact me at the email address below.

we.love.code.allen@gmail.com


Language: Swift, Python, Java, C#

More

Curriculum

All

50 lectures ∙ (11hr 38min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

73 reviews

5.0

73 reviews

  • tjdgml1502376517님의 프로필 이미지
    tjdgml1502376517

    Reviews 2

    ∙

    Average Rating 5.0

    Edited

    5

    80% enrolled

    The best concurrency lecture.

    • sjybext6573님의 프로필 이미지
      sjybext6573

      Reviews 4

      ∙

      Average Rating 5.0

      5

      100% enrolled

      I'm really looking forward to Part 2 of the lecture... Thank you so much for explaining the very difficult content in an easy-to-understand way! I'm gaining confidence in Swift Concurrency!

      • roel님의 프로필 이미지
        roel

        Reviews 17

        ∙

        Average Rating 5.0

        5

        100% enrolled

        The instructor explained everything so meticulously and in such detail that I was able to fully understand concepts that I only had a vague understanding of before. In particular, what impressed me most about this lecture was the excellent examples of how it is applied to real projects. It wasn't just a simple delivery of theory, but the practical examples made it much easier to understand, and I also gained confidence that I could apply it directly to my actual work.

        • shimstone5884님의 프로필 이미지
          shimstone5884

          Reviews 6

          ∙

          Average Rating 5.0

          5

          100% enrolled

          I've been using concurrency-related code without a clear understanding, but this helped me easily grasp the principles!

          • lghan000203650님의 프로필 이미지
            lghan000203650

            Reviews 6

            ∙

            Average Rating 5.0

            5

            100% enrolled

            I think this is a must-take course for learning Swift Concurrency. By comparing existing GCD with Swift Concurrency, I was able to clearly understand how the perspective on asynchronous programming has changed from the past to the present, and the explanation of structured concurrency was greatly helpful. Please continue to provide many great courses in the future!

            allen's other courses

            Check out other courses by the instructor!

            Similar courses

            Explore other courses in the same field!

            Limited time deal ends in 1 days

            $69,300.00

            30%

            $77.00