CacheStore
Version 1.0.0
CacheStore is a simple wrapper class for NSPersistentContainer and NSManagedObjectContext. It provides some methods for fetching, inserting, and deleting entities as well as a method for saving the NSManagedObjectContext when changes have been made.
Requirements
- iOS 10.0+
- Xcode 10.1
- Swift 4.2
Cocoapods
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target '<Your Target Name>' do
pod 'CacheStore', '1.0.0'
end
Example
Be sure to check the CacheStore-Example project. It demonstrates how to use CacheStore with ObjectMapper for mapping json objects to NSManagedObjects.