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

Поделиться
HTML-код
  • Опубликовано: 10 ноя 2022
  • 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 Год назад +4

    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  Год назад +1

      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 ruclips.net/video/SfFDj6qT-xg/видео.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 Год назад

    Thanks for the great explanation! Can you please share the presentation you used in this video?

    • @swiftandtips
      @swiftandtips  Год назад +1

      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 Год назад +1

    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: ruclips.net/p/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  Год назад +1

      Interesting, I will investigate. Thanks for letting me know!

  • @serhatt
    @serhatt Год назад +3

    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  Год назад +1

      Hi Serhat, the good news is that we have many options 😌. Feel free to use anyone that fits your requirements!

  • @andrejkling3886
    @andrejkling3886 Год назад +5

    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  Год назад +3

      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 Год назад +2

      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.