JSQCoreDataKit
  • March 28, 2024

A swifter Core Data stack

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


Tooling

 

Platforms

 

  • iOS 11.0+
  • macOS 10.12+
  • tvOS 11.0+
  • watchOS 4.0+

Installation


CocoaPods

pod ‘JSQCoreDataKit’, ‘~> 9.0.0’

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.

GitHub


View Github

#core-data #coredata #ios #swift
YOU MIGHT ALSO LIKE...
PermissionsSwiftUI: A SwiftUI package to handle permissions

PermissionsSwiftUI displays and handles permissions in SwiftUI. It is largely inspired by SPPermissions. The UI is highly customizable and resembles an Apple style. ...

Pager tab strip view

Introduction PagerTabStripView is the first pager view built in pure SwiftUI. It provides a component to create interactive pager views ...

PageView

SwiftUI view enabling page-based navigation, imitating the behaviour of UIPageViewController in iOS.

Pages

    

How to take action when a property changes

1. Taking Action When a Property Changes: Property Observers Swift lets you observe and respond to changes in a property’s ...