Inflearn brand logo image
Inflearn brand logo image
Inflearn brand logo image
BEST
Programming

/

Mobile Application Development

Alan Swift Concurrency for Swift 6 (Part-2)

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

(5.0) 14 reviews

207 learners

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

What you will learn!

  • 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

This course requires a separate purchase of the textbook (e-book PDF).

(This course took over a year to produce. Because it offers the most optimal/highest quality learning experience and covers more detailed learning than any other Swift Concurrency-related course on the planet, we are selling the course material separately to maintain the quality of the course. Please understand that purchasing the course material is optional. You are perfectly fine to purchase just the course. )

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

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

Even if you don't directly attend this course, you can purchase the textbook separately. (However, since the materials are optimized for the course's purpose, purchasing the textbook alone may result in some content being difficult to understand. If you agree to this, you can purchase the textbook without purchasing the course.)

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

Subtitle: Learning Swift Concurrency Programming Properly to Advance to Swift 6


🌿 🌿 🌿

A solid foundation based on CS
A little difference in detail
I think it makes a difference in skill.

🌿 🌿 🌿



Swift has finally been updated to version 6 after a series of preparations since the introduction of the new concurrent programming (Swift Concurrency) in version 5.5. And one of the core goals of version 6 is to ensure safety by eliminating the possibility of potential data races in the code and enabling thread-safe code implementation from the compile stage .

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


Therefore, this course is designed to cover everything related to Swift Concurrency, from A to Z , as you gradually progress to Swift 6. Please refer to the main content of this course below, and the first lecture introduction video provides a detailed explanation of the course content , so please also refer to it.

(If you learn all the contents up to Part 1/2, I believe you will have completed the theoretical foundation for introducing Swift 6.)


It's always been my personal goal for my courses to cover more detailed and in-depth content than any other Swift Concurrency course on the planet. (I believe that even the smallest details, like an obsession, make a difference in skill, so I always try to provide a variety of code examples and well-organized materials.)

(2) Main contents covered in Part 2 (this lecture)

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

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

  • Task Isolation and Shared Mutable State (Shared Data)

  • Sendable types (data types that are safe to share between threads)

  • Actor complete mastery (1) isolation/non-isolation (2) atomicity (3) reentrancy (4) actor hopping

  • (5) Main actor blocking (6) Resolving actor contention

  • Global actors and main actors

  • Implementing a Cache with Actors: Example Project

  • AsyncSequence (asynchronous sequence) and AsyncStream (asynchronous stream)

  • Example project for applying AsyncStream to WebSocket

  • Sending of Non-Sendable type

  • Problems with isolation in functions (closures) - isolated (Actor)? = #isolation / @isolated(any)

  • Implementation of a Custom Executor / Preference for Task Executors

  • (Note) consume / consuming keywords

  • Deep dive into actor grammar rules - constructors / destructors / protocols / inheritance / extensions

  • Moving from Swift 5 to Swift 6

  • Analyzing Projects Using Instruments

(1) Main contents covered in Part 1 (existing lecture)

  • A proper understanding of Task / async / await


  • How asynchronous functions work

  • Introducing a new asynchronous API for URLSession

  • Using Continuation (1) Callback function / (2) Converting delegate method to asynchronous method

  • Example project for converting the delegate method of the location app (CoreLocation) to async/await.

  • Theoretical content of structural simultaneity

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

  • Understanding how task cancellation works (Example of a project related to task cancellation)

  • Understanding the Collaborative Cancellation Model

  • Applications of structural concurrency and task cancellation

  • Application of TaskGroup (specifying the number of concurrent threads - custom settings)

  • Utilizing Task-Local Variables

Part 1 Lecture Link : https://inf.run/jXpfH

Features of this course

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

📌 (This is the goal of Swift 6) It lays the foundation for writing thread-safe code from compile time.

📌 This lecture was created by referencing all existing WWDC - Swift Concurrency related videos .

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

📌 We analyze numerous overseas books and lectures on concurrency to cover all the content as thoroughly as possible.

📌 Various example projects

📌 So, more detailed than any other Swift Concurrency course on the planet !!!!

📌 (As has always been the case in my lectures) I provide separate learning materials to ensure the most intuitive understanding and organization possible .

Use the best resources for learning.

Separate textbook (PDF of the tank book) available for purchase

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

Providing various translation materials, including official document translations.

We provide translated versions of the official Swift 6 (Concurrency) documentation, API Collection documentation, and more to help you make the most of your learning time.

Provides various project example code materials

In addition to theoretical content, you will learn in-depth by directly applying what you have learned to projects.

Provision of theoretical learning code materials

A variety of example playground codes are provided for optimal theoretical learning.

Things to note before taking the course

Textbook sold separately (30,000 won)

1. Providing additional materials (code materials are provided free of charge)

  • Code data provided /

    Provide project examples

  • Provides multiple translations (Swift 6 - Concurrency / API Collection / Migrating to Swift 6)

2. Player knowledge and precautions

  • The basics of Swift grammar - a level where you can freely handle functions, closures, etc.

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

  • Experience with network call APIs (such as URLSession) in Swift

  • Basic knowledge of UIKit and SwiftUI

3. Practice environment

  • macOS Sequoia / Xcode 16.2 or later

💌 Lecture content license related


The content of this lecture, if I've even slightly referenced images or other materials, includes the relevant URLs in the PDF . Except for those instances, all materials are my own. Therefore, posting this lecture content on a blog or sharing the PDF files of the e-book textbooks used as lecture materials is prohibited under any circumstances .

(Please note that you may be held legally responsible if you violate the terms of this license.)

Q. Is the course available for life?

A. This is not a lifetime course. Please note that this course has a 12-month attendance limit . (Based on my experience sharing my lectures multiple times... and the amount of money I make isn't worth the time and effort I put into it... this is the best I can do to prevent lectures from being shared, so please be 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 truly study 'properly,' even watching WWDC videos.

Need to know before starting?

  • Swift basics

  • Basic knowledge level of concurrent programming

Hello
This is

7,328

Learners

700

Reviews

296

Answers

5.0

Rating

7

Courses

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

제가 공부하면서 겪었던 시행착오를 쉽게 풀어내어
지식을 공유할 수있는 개발자가 되고싶습니다.

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

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

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


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

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

14 reviews

5.0

14 reviews

  • jomyounghoon5154님의 프로필 이미지
    jomyounghoon5154

    Reviews 1

    Average Rating 5.0

    5

    86% enrolled

    So good. Alan is the best

    • gyurikim2님의 프로필 이미지
      gyurikim2

      Reviews 1

      Average Rating 5.0

      5

      31% enrolled

      • eogud71265682님의 프로필 이미지
        eogud71265682

        Reviews 2

        Average Rating 5.0

        5

        31% enrolled

        • leejunho님의 프로필 이미지
          leejunho

          Reviews 1

          Average Rating 5.0

          5

          31% enrolled

          • codingco님의 프로필 이미지
            codingco

            Reviews 6

            Average Rating 5.0

            5

            100% enrolled

            $187.00

            allen's other courses

            Check out other courses by the instructor!

            Similar courses

            Explore other courses in the same field!