
Working on @pointfreeco and @isowords. 🦋 @stephencelis.com 🐘 @stephencelis@hachyderm.io
California
Joined June 2007
- Tweets9.9K
- Following340
- Followers5.4K
- Likes8K
Testability! ComposableArchitecture comes with testing tools that allow you to exhaustively assert against your app’s business logic, and in an age of agentic workflows, help you maximize testing while minimizing token usage.
8
418
Stephen Celis retweeted
We love to hear it!
Learn about what we’ve been all about this past year here (and subscribe at a Black Friday discount!): pointfree.co/blog/posts/235-…
It leans on Observation (and is totally compatible with existing observable models, etc.) but introduces a value type flavor of observation to the table. This means familiar view operators like `onChange(of:)`, except for your model layer!
Replying to @stephencelis
SwiftUI thinking for business logic is a big promise. Curious if 2.0 leans fully on Observation or keeps its own tracking.
1
10
721
ComposableArchitecture 2.0 has been cooking for awhile now and it’s almost done! It’s a complete rethink that applies SwiftUI thinking to your app’s business logic and testing.
Join us for our upcoming release 😄
If you want to learn more about the ComposableArchitecture 2.0 and explore everything we’ve covered so far and have planned for the future, there's no better time to become a member:
pointfree.co/blog/posts/235-…
Stephen Celis retweeted
If you want to learn more about the ComposableArchitecture 2.0 and explore everything we’ve covered so far and have planned for the future, there's no better time to become a member:
pointfree.co/blog/posts/235-…
Stephen Celis retweeted
Agents love a good feedback loop!
ComposableArchitecture 2.0 gives features all the tools they need to communicate, and all fully unit testable. No need to spin up simulators or wait for lengthy UI tests. Thousands of tests can run concurrently in an instant!
We have some of the most comprehensive, up-to-date educational material on Swift concurrency and isolation out there!
If you want to maximize your concurrent code, and minimize data races, locks, and unsafe workarounds, become a member and learn today.
🎉 Our Black Friday sale is here! 🎉
Save 30% on your first year of Point-Free. Unlock everything we have to offer, from advanced concurrency to SQLiteData, and what's coming next: Swift ownership, ComposableArchitecture 2.0, testable async and more!
pointfree.co/blog/posts/235-…
Stephen Celis retweeted
🎉 Our Black Friday sale is here! 🎉
Save 30% on your first year of Point-Free. Unlock everything we have to offer, from advanced concurrency to SQLiteData, and what's coming next: Swift ownership, ComposableArchitecture 2.0, testable async and more!
pointfree.co/blog/posts/235-…
Stephen Celis retweeted
Introducing: CompilationTesting!
Test code that should produce Swift errors, warnings, fix-its, and notes.
pointfree.co/blog/posts/234-…
Stephen Celis retweeted
Did you know Swift actors can share the same isolation and communicate with one another in a completely synchronous manner?
This week we apply the idea to ComposableArchitecture 2.0, where a scoped StoreActor can wrap a parent and share parts of the same core domain and state.
Stephen Celis retweeted
This week we conclude our series by showing how to share isolation across boundaries!
By abstracting our nonisolated core with a protocol, isolated shells can scope down to subfeatures while retaining all the benefits of controlled isolation.
pointfree.co/episodes/ep384-…
Stephen Celis retweeted
This week we started reaping the benefits of "nonisolated core, isolated shell". We write features a single time, without thinking about isolation, then wrap the feature in the isolation we need. @MainActor for SwiftUI, arbitrary actor for tests!
pointfree.co/collections/bey…
Stephen Celis retweeted
The feedback on ComposableArchitecture 2.0 has been pretty reassuring 😁

ALT A screen shot from Slack: i recently started using TCA 2.0 in a large codebase with mutliple architectures and old technologies was able to refactor an old module and went from 70K lines of code down to 13K :exploding_head: and the best part? it was better in ALL aspects: performance, efficiency, developer experience, and smooth UI and UX AND was testable in every single aspect one can think of. thank you @Brandon Williams and @Stephen Celis for the incredible work and effort! :sparkles::fire:
Stephen Celis retweeted
Advanced Swift macro technique: Accessing inferred types
Macros only see the syntax of Swift code, so it seems impossible to access inferred types. But with a clever trick involving associated type inference, we can achieve the seemingly impossible!
pointfree.co/blog/posts/233-…
Stephen Celis retweeted
Which error would you prefer to diagnose? The one that is presented on the problematic line, or the one hidden in the guts of expanded macro code?
Part 1 of our Advanced Swift Macros series is out!
You may think macros can only see the stringy syntax of Swift code, but it is possible to tease out some static type information. You can even detect if a type conforms to a protocol!
🤯 pointfree.co/blog/posts/232-…
Stephen Celis retweeted
Part 1 of our Advanced Swift Macros series is out!
You may think macros can only see the stringy syntax of Swift code, but it is possible to tease out some static type information. You can even detect if a type conforms to a protocol!
🤯 pointfree.co/blog/posts/232-…
Stephen Celis retweeted
Come for the real world explanations of isolation in Swift, stay for the deep dives into esoteric underscored attributes like '@_inheritActorContext(always)' 🤣
pointfree.co/collections/bey…
Stephen Celis retweeted
This week we explore the “Nonisolated Core, Isolated Shell” pattern in Swift using a type that drives the business logic of a SwiftUI app.
A nonisolated “Core” type is hosted in an isolated “Store” type, simplifying the complexities one typically encounters in Swift concurrency.















