Skip to content
Rule based CRUD CoreData Frontends for SwiftUI
Swift Shell
Branch: develop
Clone or download
helje5 Fix typo
... from, not form.
Latest commit d1adce7 Oct 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.d Initial drop Sep 20, 2019
CoreDataToSwiftUI.xcodeproj Drop aliases, fix mobile build Sep 23, 2019
Sources/DirectToSwiftUI Fix typo Oct 10, 2019
xcconfig Initial drop Sep 20, 2019
.gitignore Initial drop Sep 20, 2019
.travis.yml Travis: Try pipefail Sep 23, 2019
CONTRIBUTING.md
LICENSE
Package.swift Drop ZeeQL imports / refs (build assumed to break) Sep 22, 2019
README.md Updated README Oct 10, 2019

README.md

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.

Notes

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!

Requirements

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: https://github.com/DirectToSwift/CoreDataToSwiftUI.git .

Misc

What it looks like

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

Watch

Phone

macOS

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

Who

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.

You can’t perform that action at this time.