Permalink
Browse files

Fix small error in README with regard to MR_SHORTHAND

  • Loading branch information...
1 parent e70c89b commit 8c14cc7b00fa90be3643f13edbeb981c89650ede @maikg maikg committed Jun 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -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 8c14cc7

Please sign in to comment.