Skip to content

DirectToSwift/DVDRentalCoreData

Repository files navigation

CoreData to SwiftUI: DVDRental Example

Swift5.1 macOS15 iOS13 watchOS6 Travis

Going fully declarative: Direct to SwiftUI.

WORK IN PROGRESS

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.

This repo is a Direct to SwiftUI example application using CoreData. It contains a copy of the Sakila example database, aka "DVDRental".

The sample contains targets to build iOS, watchOS and macOS applications.

There is a version of this using ZeeQL to connect to SQL databases, instead of CoreData: DVDRental.

What it looks like

Watch

Phone

macOS

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

ER Diagram

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.