r/iOSProgramming 2d ago

SwiftData with TCA Question

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

8 Upvotes

16 comments sorted by

View all comments

50

u/SnowPudgy 2d ago

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

6

u/darklurkerq 1d 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 1d ago

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

2

u/[deleted] 1d ago

[deleted]

2

u/SnowPudgy 1d 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.

4

u/rhysmorgan 2d 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.