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

/

Mobile Application Development

Alan Swift Concurrency for Swift 6 (Part-1)

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

(4.9) 39 reviews

507 learners

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

Reviews from Early Learners

What you will learn!

  • Swift Concurrency (Swift Concurrency Programming)

  • Task / async / await (asynchronous processing)

  • New async/await-related API

  • How to use Continuation

  • Structured Concurrency (structured concurrency / parallel processing)

  • async let / TaskGroup (Parallel Processing Technique)

  • Cancellation (Work Cancellation)

  • Usage of Task-Local (작업 지역 변수)

  • (Task Cancelled) Project Application Cases

You must purchase the textbook (e-book PDF) separately for this course.

(This lecture took more than a year to produce. As such, it covers the best/highest content for learning and the most detailed learning content on Swift Concurrency on the planet, so in order to maintain the quality of the lecture... please understand that the textbook is sold separately. Purchasing the textbook is optional. It is completely fine to purchase only the lecture. )


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

Sales 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 purpose of the course, there may be some content that you do not understand if you purchase the textbook alone. If you agree to this, you can purchase the textbook without purchasing the course.)

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

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


🌿 🌿 🌿

A solid foundation based on CS
The difference is a little 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 key goals of Swift version 6 is to ensure safety by eliminating the possibility of potential data races (Race Conditions/Data-Races) in the code and enabling the implementation of thread-safe code from the compile stage .

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


Therefore, this lecture is designed to gradually advance to Swift 6 , and to learn everything related to Swift Concurrency, that is, from A to Z. Please refer to the main contents of this course below, and the first lecture introduction video explains the contents of the course in detail , so please refer to it as well.

(If you study up to Part 2, I believe you will have completed the theoretical foundation for introducing Swift 6.)


It's always my personal goal for my lectures, but I cover more detailed and in-depth content than any other Swift Concurrency lecture on the planet. (I always try to provide various code examples and organized materials because I believe that a little difference in detail like obsession makes a difference in skills.)

What we cover in the course 🕵🏻‍♂️👨🏻‍🎓

(1) Main contents covered in Part - 1 (this lecture)

  • A proper understanding of Task/async/await


  • How async functions work

  • Introducing new asynchronous APIs related to URLSession

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

  • Example project of 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


(2) (Future) Main topics to be covered in Part 2 (separate lecture)

  • Understanding Concurrent Programming from a Computer Science Perspective (Understanding Thread/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 conquest (1) Isolation/non-containment (2) Atomicity (3) Reentrancy (4) Actor hopping

  • (5) Blocking the main actor (6) Resolving actor contention

  • Global actors and main actors

  • Implementing a cache as an actor Project example

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

  • Example project for applying AsyncStream to WebSocket

  • Sending (sending) of Non-Sendable type

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

  • Implementation of Custom Executor / Preference for Task Executor

  • (Note) consume / consuming keywords

  • Deep dive into actor grammar rules - constructor / destructor / protocol / inheritance / extension

  • Moving from Swift5 to Swift6

  • Analyzing your project using Instruments



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


Features of this course

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

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

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

📌 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 for the most intuitive understanding and organization .

The best resources for learning are provided.

Separate textbook (PDF of the tank book) can be purchased

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, etc. to help you use your learning time as efficiently as possible.

Provides various project example code materials

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

Providing theoretical learning code materials

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

Things to note before taking the class

Textbook sold separately (30,000 won)

1. Provision of learning materials

  • 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 (URLSession, etc.) in Swift

  • Basic knowledge of UIKit and SwiftUI

3. Practice environment

  • macOS Sequoia / Xcode 16 (Xcode 15.3 ~ 15.4 playground is available for theoretical learning)


💌 Lecture Content License Related


The contents of this lecture, if I have referenced even a little bit of the images, etc., the relevant URL address is left in the PDF . Except for such cases, all materials are written by me, so posting the contents of this lecture on a blog or sharing the PDF file of the e-book textbook used as the lecture material is prohibited under any circumstances .

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

Q. Are the lectures available for life?

A. It is not a lifetime course. This course has a 12-month limit on taking the course . Please be aware of this. (Based on my experience sharing my course several times.. and since I don't earn much money compared to the time and effort I put in.. this is the best measure I can take to prevent lecture sharing, so please be generous and understand 🙏🏻)

Have you ever taken a grammar bootcamp? 🙋🏻‍♂️🙋🏻‍♀️

If you have taken my Swift Master School (2 month course), please contact me via Slack and I will give you a free pass to this Part-1 course . (Please check the entire Slack Bootcamp announcement .)

Recommended for
these people

Who is this course right for?

  • For those who want to properly master Swift Concurrency programming

  • For those who want to properly and deeply learn concurrency programming theoretically

  • People who truly study 'properly', even looking up WWDC videos

Need to know before starting?

  • Swift Fundamentals

Hello
This is

7,330

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

50 lectures ∙ (11hr 38min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

39 reviews

4.9

39 reviews

  • 헬로우?님의 프로필 이미지
    헬로우?

    Reviews 5

    Average Rating 5.0

    5

    100% enrolled

    좋은 강의 정말 감사합니다. 그동안 Swift Concurrency를 겉핥기로 알고 있었는데 직관적으로 동작 원리까지 이렇게 제대로 알려주시는 강의는 정말 없을 것 같네요. Concurrency를 조금이라도 어설프게라도 공부해보신 분들은 이 강의의 진가를 아실 것 같습니다. 구조적 동시성 관련된 내용들은 그동안 이해하기 어려웠는데 한방에 제대로 깨달았습니다. 교재도 너무 좋고, 예시코드들도 다양하게 제공해 주셔서 헷갈리던 개념들도 깔끔하게 정리가 잘 정리가 되었습니다. 강사님 앞으로도 좋은 강의 많이 부탁드립니다 :)

    • tjdgml150237님의 프로필 이미지
      tjdgml150237

      Reviews 2

      Average Rating 5.0

      Edited

      5

      80% enrolled

      최고의 concurrency 강의 입니다

      • 심성환 Shim님의 프로필 이미지
        심성환 Shim

        Reviews 6

        Average Rating 5.0

        5

        100% enrolled

        Concurrency 관련 코드를 그냥 막연히 사용하고 있었는데 원리를 쉽게 잘 이해할 수 있었습니다!

        • Roel님의 프로필 이미지
          Roel

          Reviews 16

          Average Rating 5.0

          5

          100% enrolled

          강사님께서 정말 세심하고 자세하게 설명해주셔서, 이전에는 어설프게 알고 있던 개념들을 완전히 이해할 수 있었습니다. 특히 이번 강의에서 가장 인상 깊었던 점은, 실제 프로젝트에 어떻게 적용되는지를 보여주는 예제가 매우 훌륭했다는 것입니다. 단순한 이론 전달이 아니라 실무 중심의 예시를 통해 이해가 훨씬 쉬웠고, 실제 업무에 바로 활용할 수 있을 것 같다는 자신감도 생겼습니다.

          • 마루김마루님의 프로필 이미지
            마루김마루

            Reviews 4

            Average Rating 5.0

            5

            100% enrolled

            Part-2 강의가 너무 기다려집니다... 매우 어려운 내용이지만 쉽게 설명해주셔서 정말 감사드립니다! Swift Concurrency에 자신감이 생겨요!

            $77.00

            allen's other courses

            Check out other courses by the instructor!

            Similar courses

            Explore other courses in the same field!