Skip to content
This repository was archived by the owner on Nov 9, 2018. It is now read-only.
blinker13Public archive

About

Small convenience wrapper around Core Data

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

189 Commits

Folders and files

Repository files navigation

#CoreDataKit

CoreDataKit is a small convenience wrapper framework written in Swift.

The Stack

The CDKStack class provides a simple interface to create a simple Core Data Stack with only a few lines of code. In the following example a fully functional stack is instanciated, popullated with a persistent store and made into a shared instance.

Instantiation

A CDKStack will by default initialize with a merged Model from all Bundles but can be initialized with an optional Model.

CDKStack *stack = [[CDKStack alloc] init];

NSManagedObjectModel *model = [[NSManagedObjectModel alloc] init];
CDKStack *stack = [[CDKStack alloc] initWithModel:model];

Store

Adding a store will by default initialize an SQLite store named after the main bundles executable.

[stack addStore];

About

Small convenience wrapper around Core Data

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages