everybody seems to encourage people to use structs & enums for good reasons when coding in swift. 1/2
Conversation
What would you recommend to persist this data when most of the frameworks require classes ( , #coredata)?
1
Depends on your needs. You could simply not use a framework. Or you could isolate the framework; c.f.
2
oh ok so you have a class equivalent for each struct. Don't you think it's hard to maintain after few model's iterations?
1
Replying to
Engineering is all about trade offs.
Replying to
agree. Just wondering because you guys use this technique for the Khan app right

