CocoaPods, iOS SDK, Objective-C

Getting Started with ObjectiveRecord

A few months ago, I was looking for a lightweight library for making it easier to work with Core Data. There are a number of libraries that make working with Core Data easier and less verbose. ObjectiveRecord, however, is probably the most elegant solution if you’re looking for a library that makes working with Core Data less verbose and more readable.

In this article, I’m going to show you how easy it is to get started with ObjectiveRecord and you’ll also learn why ObjectiveRecord has such an, dare I say, beautiful syntax. Let’s get started.


The developer of ObjectiveRecord, Marin Usalj, maintains another popular library, ObjectiveSugar that powers ObjectiveRecord. ObjectiveSugar includes a number of additions for the Foundation framework and those additions are what makes ObjectiveRecord beautiful in terms of syntax. Take a look at the following code snippet to better understand what I mean.

NSArray *fruits = @[ @"banana", @"mango", @"apple", @"pear" ];
[fruits includes:@"apple"];
Read More