To replace the current method of determining when a resource was fetched, NOAPICachedStore should have another initialization option which will be the name of a date attribute to add to the entities. Since a entity description can be changed at runtime, we can use this to modify the original managed object model and add a date attribute to all the entities (excluding abstract and sub entities).
The current implementation archives a NSDictionary which does not scale well with thousands of managed objects.
To replace the current method of determining when a resource was fetched, NOAPICachedStore should have another initialization option which will be the name of a date attribute to add to the entities. Since a entity description can be changed at runtime, we can use this to modify the original managed object model and add a date attribute to all the entities (excluding abstract and sub entities).
The current implementation archives a NSDictionary which does not scale well with thousands of managed objects.