Skip to content

Commit

Permalink
Merge pull request magicalpanda#173 from maikg/patch-1
Browse files Browse the repository at this point in the history
Fix small error in README with regard to MR_SHORTHAND
  • Loading branch information
casademora committed Jun 4, 2012
2 parents e70c89b + 8c14cc7 commit 9dee505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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];
Expand Down

0 comments on commit 9dee505

Please sign in to comment.