RHManagedObject: added methods to fetch and return a dictionary, added m...
...ethods to easily fetch in a background thread and return the results to the main thread
RHExtendedManagedObject: able to store additional data at runtime without changing the datamodel
I finally added the methods to fetch in a background thread and return the results in the main thread. I'm still considering RHExtendedManagedObject if and how I'd like to integrate it.
Hi Chris,
I noticed, thanks.
As for RHExtendedManagedObject, the reason I added that is because we have an app that is constantly evolving, features are added, removed a version later, added back 2 versions later and so on. Ideally data is preserved between all these versions. It communicates with a 3rd party API and there’s a base data model but sometimes the 3rd party makes special additions for a specific feature and it’s really impractical to constantly migrate the data model for every single version. RHExtendedManagedObject has proven to be a very good solution for this specific case but I can imagine the use cases are limited.
Also, you’ve probably seen the Core Data keynote on WWDC a few weeks back, Apple finally added background fetching themselves as well.
Greetings, David
David De Bels Lead iOS Development +32 494 86 38 75 [email protected]
APPSTRAKT Kammenstraat 18 B - 2000 Antwerp +32 3 500 92 21 www.appstrakt.be
On 28 May 2014, at 09:31, Christopher Meyer [email protected] wrote:
I finally added the methods to fetch in a background thread and return the results in the main thread. I'm still considering RHExtendedManagedObject if and how I'd like to integrate it.
— Reply to this email directly or view it on GitHub.