The projects and materials that accompany the Modern Concurrency in Swift book

Overview

Modern Concurrency in Swift: Materials

This repo contains all the downloadable materials and projects associated with the Modern Concurrency in Swift from raywenderlich.com.

Each edition has its own branch, named editions/[EDITION]. The default branch for this repo is for the most recent edition.

Release History

Branch Edition Release Date
editions/1.0 1.0 2021-11-03
You might also like...
Type-safe networking with Swift Concurrency

AsyncRequest AsyncRequest is a type-safe framework for building a suite of requests to communicate with an API, built on top of Swift Concurrency. Ins

Functional Concurrency Primitives

Concurrent Concurrent is a collection of functional concurrency primitives inspired by Concurrent ML and Concurrent Haskell. Traditional approaches to

AsyncOperators brings some features of RxSwift/Combine to Structured Concurrency

AsyncOperators brings some features of RxSwift/Combine to Structured Concurrency, such as combineLatest and distinctUntilChanged.

Ten Elephants is the modern cooking app for iPhone.
Ten Elephants is the modern cooking app for iPhone.

Ten Elephants Ваш персональный гастро-ассистент на iPhone. Поиск по названию/ингредиентам Поиск блюд по ингредиентам Что популярно сегодня Случайное б

A simple network layer for use in small iOS projects with async/await support

SimpleNetwork Intro SimpleNetwork is simple network layer for use in small projects. Swift Package Manager Note: Instructions below are for using Swif

Async and concurrent versions of Swift’s forEach, map, flatMap, and compactMap APIs.

CollectionConcurrencyKit Welcome to CollectionConcurrencyKit, a lightweight Swift package that adds asynchronous and concurrent versions of the standa

Automatically generate GraphQL queries and decode results into Swift objects, and also interact with arbitrary GitHub API endpoints

GitHub API and GraphQL Client This package provides a generic GitHub API client (GithubApiClient) as well as Codable-like GitHub GraphQL querying and

Make your logic flow and data flow clean and human readable

Flow What's Flow Flow is an utility/ design pattern that help developers to write simple and readable code. There are two main concerns: Flow of opera

Extensions and additions to AsyncSequence, AsyncStream and AsyncThrowingStream.

Asynchone Extensions and additions to AsyncSequence, AsyncStream and AsyncThrowingStream. Requirements iOS 15.0+ macOS 12.0+ Installation Swift Packag

Comments
  • Tsan related changes

    Tsan related changes

    @freak4pc - I enabled TSan for all projects, for miniscule projects like our examples there is no overhead when compiling/running but it'll help us catch any issues early for future editions of the book.

    opened by icanzilb 7
  • Marin todorov/server update

    Marin todorov/server update

    The version we used last now produces a build error for me (why does this happen anyway? I thought semver was designed exactly so that this won't happen)

    I bumped vapor to the latest release and that fixes the build errors.

    opened by icanzilb 0
  • [hold] Moves the countdown method to main actor

    [hold] Moves the countdown method to main actor

    In one part of chapter 4 the countdown uses a Timer and in iOS16 sometimes the code ends up off the main thread and timer doesn't work, this PR annotates the method on the main actor

    opened by icanzilb 3
Releases(v1.0.2)
  • v1.0.2(Apr 13, 2022)

    Updated on 6th April 2022

    What's Changed

    Materials

    • Removes unneeded return in Chapter 6 materials
    • Enabling TSan in all projects
    • Addresses a regression in Xcode 13.3

    Text

    • Fixing typos
    • Some wording and explanation changes
    • Changes related to data races in Chapter 03, 07 & 09
    • Addresses Xcode 13.3 regression in Chapter 06.

    Full Changelog: https://github.com/raywenderlich/mcon-materials/compare/v1.0.1...v1.0.2

    Source code(tar.gz)
    Source code(zip)
  • v1.0.1(Dec 1, 2021)

    Updated on 12th November 2021:

    • Fixes some typos
    • Updates some indendation
    • Adds more specific instructions in Chapter 1
    • Removes isCancelled in Chapter 3
    • Removes weak self for non-escaping closure in Chapter 4
    • Changes language around "promises" in Chapter 6
    • Converts an array into a set in Chapter 9
    • Adds a note about moving whole classes to a global actor in Chapter 9
    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Nov 3, 2021)

Owner
raywenderlich
raywenderlich
A Modern Concurrency and Synchronization for Swift.

##Features Simple Atomic<T> class for numbers and strings. Uncomplicated dispatch keyword for firing off background routines. Awesome Chan<T> for conc

Josh Baker 421 Jun 30, 2022
Venice - Coroutines, structured concurrency and CSP for Swift on macOS and Linux.

Venice provides structured concurrency and CSP for Swift. Features Coroutines Coroutine cancelation Coroutine groups Channels Receive-only chan

Zewo 1.5k Dec 22, 2022
Slack message generator and API client, written in Swift with Result Builders and Concurrency

Slack Message Client This package provides a Swift object model for a Slack Block Kit message, as well as a Result Builder convenience interface for e

Mike Lewis 2 Jul 30, 2022
A complete set of primitives for concurrency and reactive programming on Swift

A complete set of primitives for concurrency and reactive programming on Swift 1.4.0 is the latest and greatest, but only for Swift 4.2 and 5.0 use 1.

AsyncNinja 156 Aug 31, 2022
A Swift DSL that allows concise and effective concurrency manipulation

NOTE Brisk is being mothballed due to general incompatibilities with modern version of Swift. I recommend checking out ReactiveSwift, which solves man

Jason Fieldman 25 May 24, 2019
⚡️ Fast async task based Swift framework with focus on type safety, concurrency and multi threading

Our apps constantly do work. The faster you react to user input and produce an output, the more likely is that the user will continue to use your appl

Said Sikira 814 Oct 30, 2022
Tools for using Swift Concurrency on macOS 10.15 Catalina, iOS 13, tvOS 13, and watchOS 6.

ConcurrencyCompatibility Tools for using Swift Concurrency on macOS 10.15 Catalina, iOS 13, tvOS 13, and watchOS 6. Xcode 13.2 adds backwards deployme

Zachary Waldowski 9 Jan 3, 2023
A declarative state management and dependency injection library for SwiftUI x Concurrency

A declarative state management and dependency injection library for SwiftUI x Concurrency

Ryo Aoyama 199 Jan 1, 2023
Swift concurrency collection support

AsyncCollections Functions for running async processes on Swift Collections ForEach Run an async function on every element of a Sequence. await array.

Adam Fowler 11 Jul 11, 2022
An introduction to using Swift's new concurrency features in SwiftUI

SwiftUI Concurrency Essentials An introduction to using Swift's new concurrency features in SwiftUI Discuss with me · Report Bug · Request Feature Art

Peter Friese 80 Dec 14, 2022