I am building an iOS application in Swift.
The access to the data store is handled using a Repository which is a protocol.
Is it a good idea to use a struct for the implementation of the Repository or should it be a class?
What my concern is that, if the repository implementation is a struct, then copying a Repository on assignment might lead to several copies each having slightly different sets of data.
