RWPCoreData 0.8.1

RWPCoreData 0.8.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total4
Week0
Month0

Installs

Apps2
powered by Segment

GitHub

Stars4
Watchers1
Forks0
Issues0
Contributors1
Pull Requests0

Code

Files7
LOCLines of Code 312


Core Data is a great framework, but it also requires you to write a hefty amount of boilerplate code for even the simplest of projects. RWPCoreData aims to solve some of the headaches associated with using Core Data in new projects through a few core features:

  • The ability to instantiate managed objects via an init or initWithContext: method
  • Creation and management of a main managed object context
  • Automatic loading of your data model from .xcdatamodeld files present in your project
  • Simplified of communication with remote APIs

Classes

The library provides two main classes which your managed objects should inherit from:

  • RWPManagedObject which provides easier instantiation, a main context, and so on. Classes should inherit from this if they aren't loaded from an external API.
  • RWPRemoteManagedObject makes a few assumptions about external APIs that make it easier to serialise API responses into objects.