Skip to content

rhysforyou/RWPCoreData

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RWPCoreData

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.

About

Helpful boilerplate code for Core Data projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published