Sep 252012

I’ve released v0.7 of my RHManagedObject Core Data library for iOS.  This new version cleans up a lot of code and standardizes some of the aggregate functions.  It’s backwards compatible to v0.6, but requires a small modification to your entity subclasses.

You can download and read about it on GitHub.

  2 Responses to “Simplifying Core Data Part II”

  1. Outstanding work on this – very thoughtful work! One question/comment, for your next release, when doing a commit, what do you think about returning the NSError object instead of doing an abort()?

    +(void)commit:(NSError * __autoreleasing *)error {
    NSError * err = nil;
    [[self managedObjectContextManager] commit:&err];
    if (error != NULL) {
    if (err!=nil) *error = err;


    • Thanks. I never considered returning the error since I never get them. 🙂 Can you tell me a use case when you might need this? How would you recover from the error?

 Leave a Reply

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    Markdown is turned off in code blocks:
     [This is not a link](

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>



This site uses Akismet to reduce spam. Learn how your comment data is processed.