Composition in TCA: Scope, Combine and Pullback operators

  Переглядів 6,946

Swift and Tips

Swift and Tips

Рік тому

In this video, we will introduce the concept of composition in TCA using three operators to combine small domains to build a large one. This is useful to modularize your app really easy!
This is part 2 of TCA series, check out the previous videos:
Intro to TCA (Part 1): • The basics of The Comp...
Extended Intro (Conference talk): • The Composable Archite...
Demo showed in this video: drive.google.com/file/d/1P7dl...
Full demo completed:
github.com/pitt500/OnlineStor...
------
Resources:
* www.pointfree.co
* github.com/pointfreeco/swift-...
* Case Paths: github.com/pointfreeco/swift-...
------
Are you new in SwiftUI?
- Custom Views and Stacks: • SwiftUI Intro - Custo...
- List: • SwiftUI Intro - Lists
- State & Binding: • SwiftUI's lifecycle, @...
- Observable Objects: • Observable Objects in ...
- EnvironmentObjects: • Environment Objects in...
Videos Related to Swift Language:
* Keypaths: • The Anatomy of a Key Path
* Generics: • Generics
-----
Contact:
/ swiftandtips
/ swiftandtips
/ swiftandtips
Finally, ask me for a video you would like to see next 😄!

КОМЕНТАРІ: 9
@vincefried
@vincefried 5 місяців тому
Thanks the video! One question regarding the unidirectional flow: Isn’t it about the communication between view and viewstore/reducer and not about how information flows between root and parent? Or is it related?
@swiftandtips
@swiftandtips 5 місяців тому
Hi Vince thank you for your comment! From my point of view both correct. Children domains don’t know anything about their parents and view doesn’t have any context about what reducer will do under the hood.
@mahmoudzinji5672
@mahmoudzinji5672 Рік тому
is there any other video in this playlist ? Good explanation though about child reducers :)
@swiftandtips
@swiftandtips Рік тому
Thank you for your comment 🙏 Yeah, this is the previous video actually: ukposts.info/have/v-deo/i5Z3eKBtqIpe2Zs.html There are other related videos in the description 👍
@francislegaspi2923
@francislegaspi2923 Рік тому
TCA is not appealing to the guys who are new to it. Even this tutorial is outdated from the latest TCA implementation of `ReducerProtocol`. Most of us is kinda lost and confuse :(
@swiftandtips
@swiftandtips Рік тому
Thanks for your comments. I know ReducerProtocol is out already, but the architecture overview still the same. I’m doing my best to finish this work and then migrating to the new syntax asap. And yeah, TCA has a learning curve. It’s expected to take some time to adapt. It’s just a matter of practice 👍
@francislegaspi2923
@francislegaspi2923 Рік тому
@@swiftandtips Still this is a very helpful tutorial, I successfully converted this to ReducerProtocol by Reading the docs and Trial and Error 😄
@heitorkunrath6862
@heitorkunrath6862 Рік тому
Hey! I saw all your videos about TCA, but I still didn't get everything. I need to deliver a challenge for a job tomorrow( I already built the same challenge using Redux, but now I must do it in TCA). May you give me some help? I would be really grateful
@swiftandtips
@swiftandtips Рік тому
Share your thoughts! Good luck in your interview ❤️
ForEachStore and async requests to manage a collection of states in TCA
12:59
маленький брат прыгает в бассейн
00:15
GL Show Russian
Переглядів 3,7 млн
Сакура із свічки
00:35
Afinka
Переглядів 151 тис.
Advanced Combine Publishers and Subscribers in SwiftUI | Advanced Learning #19
1:53:34
My number one tip for becoming a better iOS developer
6:19
Swift Arcade
Переглядів 24 тис.
5 Steps to Better SwiftUI Views
31:19
Paul Hudson
Переглядів 54 тис.
iOS Core Data QuickStart Tutorial 2020
1:10:58
CodeWithChris
Переглядів 97 тис.
Выступление на DevFest. Composable Architecture.
41:00
Программирование - интерес жизни
Переглядів 626
INSANE OpenAI News: GPT-4o and your own AI partner
28:48
AI Search
Переглядів 6 тис.
На iPhone можно фоткать даже ночью😳
0:30
GStore Mobile
Переглядів 1 млн
Клавиатура vs геймпад vs руль
0:47
Balance
Переглядів 972 тис.
Какой телефон лучше всего снимает? 🤯
0:42
Why spend $10.000 on a flashlight when these are $200🗿
0:12
NIGHTOPERATOR
Переглядів 17 млн
How much charging is in your phone right now? 📱➡️ 🔋VS 🪫
0:11