Rule based CRUD CoreData Frontends for SwiftUI

CoreData to SwiftUI

Swift5.1 macOS iOS watchOS Travis

Going fully declarative: Direct to SwiftUI.

WORK IN PROGRESS: Supposedly this will eventually be a Direct to SwiftUI, just using CoreData instead of ZeeQL.

Direct to SwiftUI is an adaption of an old WebObjects technology called Direct to Web. This time for Apple's new framework: SwiftUI. Instant CRUD apps, configurable using a declarative rule system, yet fully integrated with SwiftUI.

There is a blog entry explaining how to use this: Introducing Direct to SwiftUI.


The library name is intentionally kept as DirectToSwiftUI. Only the package is a different one. Which implies that you can't use CoreData to SwiftUI and Direct to SwiftUI together!


CoreData to SwiftUI requires an environment capable to run SwiftUI. That is: macOS Catalina, iOS 13 or watchOS 6. In combination w/ Xcode 11.

Note that you can run iOS 13/watchOS 6 apps on Mojave in the emulator, so that is fine as well.

Using the Package

You can either just drag the Direct to SwiftUI Xcode project into your own project, or you can use Swift Package Manager.

The package URL is: .


What it looks like

A demo application using the Sakila database is provided: DVDRentalCoreData.




Still too ugly to show, but works in a very restricted way ;-)


Brought to you by The Always Right Institute and ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.


  • Swift Tools 5.1.0
View More Packages from this Author


Last updated: Mon Mar 13 2023 12:50:53 GMT-0500 (GMT-05:00)