A blog exploring advanced programming topics in Swift.

Cyber Monday Sale: 30% Off Point-Free

Monday Nov 28, 2022

We do this only a few times a year: we’re having a rare, Point-Free sale this Cyber Monday by offering 30% off the first year of your subscription!

Once subscribed you’ll get instant access to all 214 episodes (126 hours of video and growing!) of Point-Free content. This includes popular collections that were created or expanded this year, as well as all of the material we have planned for 2023!

Here are just a few of our recent additions:

Concurrency

Swift 5.6 brought all new concurrency tools to the language, including async/await, actors, structured concurrency, “sendability”, streams, clocks, and more. Understanding all of these tools at once can be overwhelming, so we thought it would be best to uncover them from the perspective of the past tools on Apple’s platforms: from threads, to queues, to Combine publishers, and finally to today’s tools.

Each generation of tools is powerful in its own way, and even have many features that async/await has, but also have significant shortcomings. Understanding this can help us understand why Swift’s native tools were designed the way they were, and help us leverage them to the best of their abilities.

SwiftUI navigation

Navigation in SwiftUI can be complex, but it doesn’t have to be that way. In our 12-part series we show how all of SwiftUI’s seemingly disparate forms of navigation (sheets, covers, popovers, links, alerts, and more!) can all be unified under essentially one API. This greatly simplifies the process of modeling state for navigation in your features, and can even make your code safer and more concise.

We also have an open source library that makes it super easy to integrate these tools into your codebase.

Composable Architecture

We expanded our Composable Architecture collection of episodes by modernizing nearly every aspect of the library.

First, we introduced first class support for structured concurrency in effects, which allows you to use async/await and tie the lifetime of effects to the lifetime of views.

Then we introduced a protocol and result builder for defining reducers, which has much better ergonomics for implementing and composing features together. It also unlocks a whole new way of managing dependencies that makes is easier and safer to access dependencies from any part of your application code base.

Parsers

We made significant updates to our parser library, including better error handling and error messaging, a new builder-style of creating parsers, and the ability to “invert” parsers, which allows you to print values back into the original string format. These features make our parser library one of the most powerful ways to turn unstructured data into structured data (and back again!), and our episodes show how we built it from the ground up.

Subscribe today!

We have plenty of exciting topics planned for 2023, including first class navigation tools for the Composable Architecture, more improvements to our parser builders, as well as all new styles of content from us (live streams!).

Be sure to subscribe today to get access to all of this and more. The offer is valid for only a few days, so you better hurry!


Subscribe to Point-Free

👋 Hey there! If you got this far, then you must have enjoyed this post. You may want to also check out Point-Free, a video series covering advanced programming topics in Swift. Consider subscribing today!