Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Super Awesome Easy Fetching for Core Data 1!!!11!!!!1!
Objective-C Ruby Shell Other

This branch is 1 commit ahead, 1 commit behind master

Failed to load latest commit information.
Carthage/Checkouts Update to Expecta v1.0.1 which fixes a missing header
Docs Remove instructions for installing from source — the umbrella header …
MagicalRecord.xcodeproj Use $(PROJECT_NAME) rather than hard coding the product name
MagicalRecord Avoid collision with lumberjack MR_LOG_LEVEL_DEF
Samples/iOS Add a few missing calls to super in the iOS sample project
Support Add a simplified version of the shorthand category methods that's com…
Tests More fixes
.clang-format Update clang-format to latest syntax
.cocoadocs.yml Lots of updates to the documentation from the wiki (and some new cont…
.gitignore Include Expecta as an Xcode subproject, rather than as a binary
.gitmodules Include Expecta as an Xcode subproject, rather than as a binary
.travis.yml Build CI using Xcode 6.1
CHANGELOG.md Update changelog
CONTRIBUTING.md Lots of updates to the documentation from the wiki (and some new cont…
Cartfile.private Include binary compiles of Expecta using Carthage to reduce testing time
Cartfile.resolved Update to Expecta v1.0.1 which fixes a missing header
LICENSE Update LICENSE
MagicalRecord.podspec Bump podspec, add myself as an author
README.md Update README.md
circle.yml Revert to using xctool — xcodebuild crashes as well

README.md

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

Documentation

Support

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

  • Ask your support question on Stackoverflow.com, 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.

Twitter

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

Something went wrong with that request. Please try again.