If you’ve developed with Ruby On Rails or similar framework then you are familiar with ActiveRecord, and you are familiar with how useful ActiveRecord is. I remember thinking how cool it was when I first played with RoR and began using ActiveRecord.
For those unfamiliar with RoR here’s the Wikipedia definition for Active Record:
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.
I’ve come across an excellent open source library based on the Ruby On Rails implementation of ActiveRecord from Saul Mora for Core Data retrieval known as MagicalRecord.
You can find the Github for the project along with full instructions here:
You can read Saul’s writeup on the project on his site here:
Magical Panda releases ActiveRecord Fetching for Core Data code library
If you want the full read on Active Record from Wikipedia here:
A very useful library indeed.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.