The CaDataManager class does not handle errors when saving the various entities. Currently, the error handler is nil. Implement a handler so that errors can be properly detected.
In Swift 2.0, the managed object context has a throws on the save method. As a result, the error checking was forced. Currently, only a print statement indicates that an error occurred.
The
CaDataManager
class does not handle errors when saving the various entities. Currently, the error handler is nil. Implement a handler so that errors can be properly detected.