mirror of
https://github.com/modo-studio/SugarRecord.git
synced 2024-09-17 17:37:42 +03:00
CoreData/Realm sweet wrapper written in Swift
Resources | ||
SugarRecord | ||
SugarRecordDemo | ||
.gitignore | ||
LICENSE | ||
README.md | ||
SugarRecord.podspec |
What is SugarRecord?
SugarRecord is a CoreData management library to make it easier work with CoreData. Thanks to SugarRecord you'll be able to start the CoreData stack structure just with a line of code and start working with your database models using closures thanks to the fact that SugarRecord is completly written in Swift.
Changes
4th August 2014
- Started CoreData stack structure initializaer
- Added singleton pattern in SugarRecord
- Created private static defaultContext and storeCoordinator var
Initialize SugarRecord
Contexts
Fetching
Useful Swift Resources
- Tests with Swift (Matt): http://nshipster.com/xctestcase/
- Quick, a library for testing written in swift https://github.com/modocache/personal-fork-of-Quick
Notes
SugarRecord is hardly inspired in Magical Record. We loved its structure and we brought some of these ideas to SugarRecord CoreData stack but using sugar Swift syntax and adding more useful methods to make working with CoreData easier.