Skip to content

Commit

Permalink
Merge branch 'master' of magicalpanda.github.com:magicalpanda/Magical…
Browse files Browse the repository at this point in the history
…Record
  • Loading branch information
casademora committed Jun 7, 2012
2 parents a903e7e + 9dee505 commit 29b598a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
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 29b598a

Please sign in to comment.