Ignore xclisten logs
treat nsnull values as nil
s/mneorr/supermarin
Support conditions with +[NSManagedObject find:]

It uses +[NSManagedObject where:] under the hood anyway, so no reason to
not support predicates, etc.

Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Add +[NSManagedObject findWithFormat:]

Now that we support +[NSManagedObject find:] with conditions, we can
create this nice format-based helper.

Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Use +[NSPredicate predicateWithFormat:] instead

Using stringWithFormat: is problematic for strings that are passed in
that break out of the quotes.

Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Merge pull request #80 from stephencelis/find-with-condition

Find with condition
Support va_list in where:, find:, and countWhere:

This removes support for whereFormat: and findWithFormat: in the
process, so upgrade your calls!

Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Update CHANGELOG

Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Merge pull request #81 from stephencelis/default-va-lists

Support va_list in where:, find:, and countWhere:
Update new format
Update README.md
Update README.md

typo: string needed a '@'
Merge pull request #84 from iandundas/patch-1

Update README.md
Better KVC support for `update:`

If we use setPrimitiveValue:forKey:, and wrap the block that assigns
everything with calls to willChangeValueForKey: and
didChangeValueForKey:, we can ensure that observers are acting on the
full dataset at once.

Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Improve NSManagedObject+Mappings HeaderDoc

More description. More param. More return.

Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Document +[NSManagedObjectContext defaultContext]

Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Remove unused import

Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Use subscripting whenever possible

Signed-off-by: Stephen Celis <stephen@stephencelis.com>
Support setting objects directly in to-many relationships

By making this method more recursive, and checking if the value is
already the correct class, we can be sure that doing the following won't
break:

  Person *employee = [Person create];
  Person *manager = [Person create:@{
    @"employees": @[employee]
  }];

Signed-off-by: Stephen Celis <stephen@stephencelis.com>