Browse files

Merge branch 'master' of…

  • Loading branch information...
2 parents a903e7e + 9dee505 commit 29b598abfaef404235013d402abee27640938337 @casademora casademora committed Jun 7, 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 29b598a

Please sign in to comment.