JSQCoreDataKit: A swifter Core Data stack
JSQCoreDataKit
About
This library aims to do the following:
- Encode Core Data best practices, so you don't have to think "is this correct?" or "is this the right way to do this?"
- Provide better interoperability with Swift
- Harness Swift features and enforce Swift paradigms
- Bring functional paradigms to Core Data
- Make Core Data more Swifty
- Simplify the processes of standing up the Core Data stack
- Aid in testing your Core Data models
- Reduce the boilerplate involved with Core Data
Requirements
- Xcode 13.0+
- Swift 5.5+
- iOS 11.0+
- macOS 10.12+
- tvOS 11.0+
- watchOS 4.0+
- SwiftLint
Installation
CocoaPods
pod 'JSQCoreDataKit', '~> 9.0.0'
Swift Package Manager
Add JSQCoreDataKit
to the dependencies
value of your Package.swift
.
dependencies: [
.package(url: "https://github.com/jessesquires/JSQCoreDataKit.git", from: "9.0.0")
]
Alternatively, you can add the package directly via Xcode.
Documentation
You can read the documentation here. Generated with jazzy. Hosted by GitHub Pages.
Additional Resources
- Core Data Programming Guide
- Core Data Core Competencies Guide
- objc.io issue #4 on Core Data
- Concurrent Core Data Stacks – Performance Shootout
- Backstage with Nested Managed Object Contexts
Contributing
Interested in making contributions to this project? Please review the guides below.
Also, consider sponsoring this project or buying my apps!
Credits
Created and maintained by @jesse_squires.
License
Released under the MIT License. See LICENSE
for details.
Copyright © 2015-present Jesse Squires.