NSError-CoreDataValidation 0.0.1

NSError-CoreDataValidation 0.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Daniel Clelland.



  • By
  • Daniel Clelland

NSError category that pretty-prints Core Data validation errors.

NSError *error;
[self.managedObjectContext save:&error];

if (error) {
    NSLog(@"%@", [error coreDataValidationErrorDescription]);
}

>>> Foo entity "bar" count (257) should not be greater than the maximum allowed