Browse files

Merge pull request #173 from maikg/patch-1

Fix small error in README with regard to MR_SHORTHAND
  • Loading branch information...
2 parents e70c89b + 8c14cc7 commit 9dee505eae5e5444b7393b9739bba81c0d652e89 @casademora casademora committed Jun 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1
@@ -119,7 +119,7 @@ MagicalRecord also has a helper method to hold on to a Managed Object Context in
Most methods in MagicalRecord return an NSArray of results. So, if you have an Entity called Person, related to a Department (as seen in various Apple Core Data documentation), to get all the Person entities from your Persistent Store:
//In order for this to work you need to add "#define MR_SHORTHAND" to your PCH file
- NSArray *people = [Person MR_findAll];
+ NSArray *people = [Person findAll];
// Otherwise you can use the longer, namespaced version
NSArray *people = [Person MR_findAll];

0 comments on commit 9dee505

Please sign in to comment.