Permalink
Commits on Jul 24, 2011
  1. Fix loading store for iOS

    casademora committed Jul 24, 2011
Commits on Jun 26, 2011
  1. Improve support for Mac apps, and more specifically, help prevent rej…

    …ection from the Mac App Store
    casademora committed Jun 26, 2011
  2. remove cruft commented code

    casademora committed Jun 26, 2011
  3. Merge pull request #31 from Arcank/patch-1

    Added an early return in -[NSManagedObjectModel+ActiveRecord setDefaultMa
    casademora committed Jun 26, 2011
  4. Added saveWithErrorHandler: method for the cases when the new target/…

    …selector is too general
    casademora committed Jun 26, 2011
  5. include background save queue on cleanup

    Saul Mora committed Jun 26, 2011
  6. Merge remote-tracking branch 'nvie/errhandler'; commit '18bda06ae8f12…

    …22f8403' into error-support
    Saul Mora committed Jun 26, 2011
Commits on Jun 20, 2011
  1. Add -setErrorHandlerTarget:action: method.

    This method allows users to declare a custom error handler that is
    called when Core Data errors occur.  Setting an alternative error
    handler will replace the default "log and continue" error handler.
    
    Be sure to set an error handler *before* you call any of the
    -setupCoreDataStack methods.  Example implementation in your application's
    delegate:
    
    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    {
        [ActiveRecordHelpers setErrorHandlerTarget:self action:@selector(handleError:)];
        [ActiveRecordHelpers setupCoreDataStack];
    }
    
    - (void)handleError:(NSError *)error
    {
        NSLog(@"Crap, a CoreData error", error);
        abort();        // TODO: Typically, you should provide a better UX here :)
    }
    nvie committed Jun 20, 2011
Commits on Jun 15, 2011
  1. Added an early return in -[NSManagedObjectModel+ActiveRecord setDefau…

    …ltManagedObjectModel:].
    
    If the passed model was the same as the current one, it could have been dealloced in between.
    (Ref count -1, +1 can pass by 0.)
    Arcank committed Jun 15, 2011
Commits on May 12, 2011
  1. Merge pull request #22 from nvie/master

    This is just a simple fix to prevent unintentional releases of the default MOC.
    casademora committed May 12, 2011
  2. Fix to prevent unintentional releases of the default MOC.

    This could occur when setting the default context to the same object
    multiple times.  This is just good Objective-C setter practice.
    nvie committed May 12, 2011
Commits on May 10, 2011
  1. Merge pull request #19 from tonyarnold/master

    Replacing variadic arguments in sort descriptor methods with straight NSArrays.
    casademora committed May 10, 2011
Commits on Apr 23, 2011
  1. Adding todo placeholders

    casademora committed Apr 23, 2011
  2. Removed some old code

    KingOfBrian committed Apr 23, 2011
Commits on Apr 20, 2011
  1. Update threading instructions

    casademora committed Apr 20, 2011
Commits on Apr 19, 2011
  1. Merging pull request

    casademora committed Apr 19, 2011
Commits on Apr 5, 2011
  1. Bug fix for deleteEntity. Use the objects context, not any of the glo…

    …bal contexts.
    Brian King committed Apr 5, 2011
Commits on Apr 4, 2011
  1. slight change to the typedef so XCode's auto completion is fully popu…

    …lated
    Brian King committed Apr 4, 2011
Commits on Apr 3, 2011
  1. Simplified inContext to not be clever and plugged in contextForCurren…

    …tThread rather than defaultContext. Fixed compiler warning for ARLog when used in a class method.
    Brian King committed Apr 3, 2011
Commits on Apr 1, 2011
  1. Added a Managed Object Proxy function to pass Managed Objects between…

    … threads
    Brian King committed Apr 1, 2011
Commits on Feb 15, 2011
Commits on Feb 3, 2011
Commits on Jan 20, 2011
  1. added new method with completion block after a save has completed in …

    …the background. Callback is called on the main thread
    casademora committed Jan 20, 2011