CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Sep 2015 |
| SPMSupports SPM | ✗ |
Maintained by Kostiantyn Koval.
Seru (Cell in Japanese) is a clean and beautiful Core Data stack in Swift.
Seru is design to be light and fast and to fit all type of applications.
Use example: Setup Core Data in 1 line of code Seru()
and insert object in background.
let seru = Seru()
seru.performBackgroundSave({ context in
let person = Person(managedObjectContext: context)
person.name = "Petter"
}class AppDelegate: UIResponder, UIApplicationDelegate {
lazy var seruStack = Seru()
...
}Save
var seruStack: Seru
seruStack.persist()Perform background save. All the changes will be saved to the context
seruStack.performBackgroundSave({ context in
let person = Person(managedObjectContext: context)
}Perform background work
seruStack.performInBackgroundContext { context in
let fetch = NSFetchRequest(entityName: "Person")
var error: NSError?
let result = context.executeFetchRequest(fetch, error: &error)
}mkdir Vendor # you can keep your submodules in their own directory
git submodule add [email protected]:kostiakoval/Seru.git Vendor/Seru
git submodule update --init --recursive
Kostiantyn Koval
@KostiaKoval
Seru is available under the MIT license. See the LICENSE file for more info.