I agree with this short but correct article by Paul O'Neill on the use of Struct with Swift.
Unless it is a significant class or a controller, I prefer using Struct for data models.
https://medium.com/@paulwall_21/why-does-apple-push-for-structs-e511e8c8124e
No comments:
Post a Comment