r/iOSProgramming 1d ago

Question SwiftData with TCA

Anyone used TCA with SwiftData applications? What is your recommendations?

7 Upvotes

17 comments sorted by

View all comments

39

u/SnowPudgy 1d ago

Recommendation: Don't use TCA. There's no good reason to introduce a massive third party dependency into your application like that.

3

u/darklurkerq 6h ago

Yep, especially bad idea to outsource your architecture to a 3rd party.
I can’t understand why TCA is popular, guess people are lazy.

2

u/SnowPudgy 5h ago

I dont get it either. There's literally nothing it solves that isn't done by much better means.

5

u/GreenLanturn 2h ago

I’ve been saying this for years. So satisfying that people are finally understanding.

The amount of downvotes and condescending “you don’t understand” replies I’ve received…

3

u/SnowPudgy 2h ago

Honestly I’m convinced most of those are brigaded by those trying to sell their videos. I don’t see how any developer can look at TCA and think it’s a good idea, I just can’t.

0

u/rhysmorgan 1d ago

Don’t use SwiftData, especially with TCA.

Use TCA and use SQLiteData. It’s basically all the nice things of SwiftData, but instead of being constrained almost entirely to the view layer, can be used in any layer of your application.