I think there is an inconsistency in EOEditingContext

From EOFWiki
Jump to: navigation, search

Because of the lazy nature of EOEditingContext many changes only appear to the caller after changes have been processed with -processChanges. A variety of methods do call -processChanges like for example -insertedObjects but some do not like for example -registeredObjects

So this statement:

  NSLog( @"%d insertedObjects, %d registeredObjects",
        [[context insertedObjects] count], [[context registeredObjects] count]);


may output a different result than this:

  NSLog( @"%d registeredObjects, %d insertedObjects",
        [[context registeredObjects] count], [[context insertedObjects] count]);
Personal tools