The Composable Architecture - Conference talk at Geekle's iOS Global Summit 2022

  Переглядів 7,474

Swift and Tips

Swift and Tips

Рік тому

1st Notice: If you hear my voice "weird", that's because I got sick during the recording of the video, sorry for the inconvenience.
2nd Notice: This video was recorded a few days ago before the release of ReducerProtocol, which by the time of the publication is already available in TCA.
The Composable Architecture (or TCA for short), is an architecture/library for building large, robust, and scalable applications. It’s built on a foundation of ideas popularized by Elm and Redux, but made to feel at home in the Swift language and on Apple's platforms.
Further, it’s strongly opinionated about how to manage side effects and build end-to-end tests that guarantee your business logic is doing what is expected.
In this talk, we are going to describe the benefits vs other architectures, and build a demo on SwiftUI applying the main concepts.
Link to the demo: github.com/pitt500/OnlineStor...
Link to TCA: (inside the demo ☝🏻)
Link to Slides: speakerdeck.com/pitt500/the-c...
My Twitter: / swiftandtips

КОМЕНТАРІ: 18
@beewall
@beewall Рік тому
I think it might be complicated for folks who haven’t come from a React/Redux/Reflux background. But as someone who does iOS and react work (I’m a zustand man myself), I absolutely love that this exists in the iOS world. I’m in the process of moving my old UIKit app over to SwiftUI and TCA is very tempting. Thank you for your videos!
@swiftandtips
@swiftandtips Рік тому
Hi Beewall, thank you for your comment! I know, TCA is hard to learn if it’s the first time, but in fact, this presentation was prepared for a “Sr.” audience in that conference, but if you want to learn step by step, check out my series ukposts.info/have/v-deo/i5Z3eKBtqIpe2Zs.html
@jarnleikr
@jarnleikr Рік тому
Thank you for this presentation - it really hit the sweet spot (intermediate level) for me. Now I can give TCA a go and run with it. Well done!
@nat.serrano
@nat.serrano Рік тому
muy bien explicado! very well explained! Interesting architecture to get rid of those weird state changes
@swiftandtips
@swiftandtips Рік тому
Thank you for your comment Nat☺️🙌🏻
@TheLeonidster
@TheLeonidster 10 місяців тому
Thanks for the great explanation! Can you please share the presentation you used in this video?
@swiftandtips
@swiftandtips 10 місяців тому
Thank you for your comment! Sure, here's the link: speakerdeck.com/pitt500/the-composable-architecture-a-great-and-opinionated-architecture-to-build-scalable-apps
@mahmoudzinji5672
@mahmoudzinji5672 Рік тому
is there a video tutorial for the Whole App that u showed ?
@swiftandtips
@swiftandtips Рік тому
I'm working on it. You can watch the first episode here: ukposts.info/slow/PLHWvYoDHvsOVo4tklgLW1g7gy4Kmk4kjw Next will come on Friday!
@oleg991
@oleg991 Рік тому
Hi Pitt. Why is your podcast unavailable for Russia in Apple Podcasts? Even dualingo shares their podcasts in apple app for free in russia without vpn, but not you🤔
@swiftandtips
@swiftandtips Рік тому
Hi Oleg, thanks for sharing, I didn’t know that is happening. Maybe this is happening because anchor is managed by Spotify and it is banned from Russia?
@oleg991
@oleg991 Рік тому
@@swiftandtips there is a default “podcasts” app on iPhone and it does not allow listening to your podcast but it allows to listen to duolingo for example, and duo is not a Russian thing actually
@swiftandtips
@swiftandtips Рік тому
Interesting, I will investigate. Thanks for letting me know!
@serhatt
@serhatt Рік тому
I mean I got the idea that this TCA help large apps to be more scalable but scalebility shouldn't be complex. I think this is the clear example of over engineering. You can still scale your large app with more easy to understand approach.
@swiftandtips
@swiftandtips Рік тому
Hi Serhat, the good news is that we have many options 😌. Feel free to use anyone that fits your requirements!
@andrejkling3886
@andrejkling3886 Рік тому
In my humble opinion it's too complicated... simplicity is best solution. Steve Jobs once said : I like hiring lazy people because they find the fastest but efficient way of completing a task. Probably lazy so productive in coding ... :))
@swiftandtips
@swiftandtips Рік тому
Hi Andrej, thanks for your comment. Do you mean that TCA is too complicated? Yes, it is! But it has a goal, scale apps well. You maybe feel better with other simpler approaches, and that’s ok. I mean, if another architecture fits your needs, go for it, but TCA was created for those that actually work with large team. There are many examples out there that proof this kind of complex architectures work. Regards.
@MainActor
@MainActor Рік тому
It is a quite complex architecture, and maybe overkill for small projects, but you’ll quickly start to see the power of TCA and its simplicity when used in a large scale projects, think of apps like eBay, Reddit, Uber etc with hundreds or even thousands of modules and you’ll start to appreciate the composability it brings when working on these large projects.
Composition in TCA: Scope, Combine and Pullback operators
12:23
Swift and Tips
Переглядів 7 тис.
Мама забыла взять трубочку для колы
00:25
Даша Боровик
Переглядів 528 тис.
This is what you can do with Enums in Swift
19:13
Swift and Tips
Переглядів 5 тис.
Composable Code Can Be Simple - Intro to dependency diagrams and composition
18:35
GPT-4o - Full Breakdown + Bonus Details
18:43
AI Explained
Переглядів 141 тис.
OpenAI’s GPT-4o: The Best AI Is Now Free!
9:14
Two Minute Papers
Переглядів 18 тис.
3D printed Nintendo Switch Game Carousel
0:14
Bambu Lab
Переглядів 904 тис.