In my project I\'m using coredata. One of the entity has an attribute named newTotal, in its corresponding NSManagedObject class the property declaration is
I can see you are using ARC.
In ARC memory is managed for you, but there are few things you can/have to do yourself. You cannot name property "newXxxx" because:
https://developer.apple.com/library/mac/releasenotes/ObjectiveC/RN-TransitioningToARC/Introduction/Introduction.html
You cannot give an accessor a name that begins with new. This in turn means that you can’t, for example, declare a property whose name begins with new unless you specify a different getter:
// Won't work:
@property NSString *newTitle;
// Works:
@property (getter=theNewTitle) NSString *newTitle;