MagicalRecord 0,1,6,9,0,3,0,7 travis-ci CocoaPods

Super Awesome Easy Fetching for Core Data 1!!!11!!!!1!

Awesome MagicalRecord

Circle CI

In software engineering, the active record pattern is a design pattern found in software that stores its data in relational databases. It was named by Martin Fowler in his book Patterns of Enterprise Application Architecture. The interface to such an object would include functions such as Insert, Update, and Delete, plus properties that correspond more-or-less directly to the columns in the underlying database table.

Active record is an approach to accessing data in a database. A database table or view is wrapped into a class; thus an object instance is tied to a single row in the table. After creation of an object, a new row is added to the table upon save. Any object loaded gets its information from the database; when an object is updated, the corresponding row in the table is also updated. The	wrapper class implements accessor methods or properties for each column in the table or view.

*- [Wikipedia]("")*

MagicalRecord was inspired by the ease of Ruby on Rails’ Active Record fetching. The goals of this code are:

  • Clean up my Core Data related code
  • Allow for clear, simple, one-line fetches
  • Still allow the modification of the NSFetchRequest when request optimizations are needed



MagicalRecord is provided as-is, free of charge. For support, you have a few choices:

  • Ask your support question on, and tag your question with MagicalRecord. The core team will be notified of your question only if you mark your question with this tag. The general Stack Overflow community is provided the opportunity to answer the question to help you faster, and to reap the reputation points. If the community is unable to answer, we’ll try to step in and answer your question.
  • If you believe you have found a bug in MagicalRecord, please submit a support ticket on the Github Issues page for MagicalRecord. We’ll get to them as soon as we can. Please do NOT ask general questions on the issue tracker. Support questions will be closed unanswered.
  • For more personal or immediate support, MagicalPanda is available for hire to consult on your project.


Follow @MagicalRecord on twitter to stay up to date with the latest updates relating to MagicalRecord.

Related Repositories



Super Awesome Easy Fetching for Core Data 1!!!11!!!!1! ...



Example app for integrating MagicalRecord + RestKit ...



MagicalRecord,一个简化CoreData操作的工具库 ...



Example App for using MagicalRecord + CoreData ...



MagicalRecord Demo ...

Top Contributors

tonyarnold casademora blackgold9 crayment Marxon13 BrianDoig Laeger callzhang ccwasden idpaterson angelolloqui Coeur KingOfBrian csotiriou donvaughn gregfu myell0w NZKoz steipete baron Antol DivineDominion duanefields ejensen rivera-ernesto emrosenf FloresRobles govi rocket0423 nicksnyder


-   v2.3.3 zip tar
-   v2.3.2 zip tar
-   v2.3.1 zip tar
-   v2.3.0 zip tar
-   v2.3.0-beta.6 zip tar
-   v2.3.0-beta.5 zip tar
-   v2.3.0-beta.4 zip tar
-   v2.3.0-beta.3 zip tar
-   v2.3.0-beta.2 zip tar
-   v2.3.0-beta.1 zip tar
-   2.3.0-beta.2 zip tar
-   2.2 zip tar
-   2.1.5 zip tar
-   2.1.4 zip tar
-   2.1.3 zip tar
-   2.1.2 zip tar
-   2.1.1 zip tar
-   2.1 zip tar
-   2.1.beta.1 zip tar
-   2.0.8 zip tar
-   2.0.7 zip tar
-   2.0.6 zip tar
-   2.0.5 zip tar
-   2.0.4 zip tar
-   2.0.3 zip tar
-   2.0.2 zip tar
-   2.0.1 zip tar
-   2.0 zip tar
-   1.8.3 zip tar
-   1.8.2 zip tar