All posts tagged “Core Data

comment 0

#35 Structs Alternative: Using Swift Protocols to Enhance Safety of Core Data Access

A previous article mentions the usage of a structs layer in accessing Core Data. This approach has some very nice properties, like thread safety of the struct values and the structs are always well formed. However this approach became too bothersome in our code and had its own share of problems. To create a struct layer you have to implement…