RestKit/RestKit — pull request #1110 by dhanushram (2012-12-27 00:29:49+00:00)
Title: 1109 enable designation of deleted boolean attribute

Hey Blake,

Pull request for my implementation of fix for Issue #1109. I have added some documentation in EntityMapping.h.

Tagged my additions/changes with `//JIFF ADDITION` comment

I tested this fix with our app and works well. I would need to rely on your expertise for the following:

1) Thinking through how this change affects other parts of the RestKit?
2) Creating unit tests.

MORE DETAILS ON HOW ITS IMPLEMENTED:
1) Added `deletedAttributeName` property in `EntityMapping`
2) Modified `RKNestedManagedObjectKeyPathMappingGraphVisitor` to spit out `entityMappingsDictionary` along with `keyPaths`.
3) Added `deleteInsertedOrUpdatedObjectsWithDeletedAttributeAsYes` method and called it in `willFinish` before obtaining permanent Object IDs.

Definitely open to changing/improving if you have better ideas.

Cheers,
Dhanush