Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DirectToSwift/DirectToSwiftUI

Repository files navigation

Direct to SwiftUI

Swift5.1 macOS iOS watchOS Travis

Going fully declarative: Direct to SwiftUI.

Note(2024年12月09日): This doesn't currently build against the current ZeeQL3 anymore.

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.

A Direct to SwiftUI variant using CoreData instead of ZeeQL can be found over here: CoreDataToSwiftUI.

Requirements

Direct 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/DirectToSwiftUI.git .

Misc

What it looks like

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

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.

AltStyle によって変換されたページ (->オリジナル) /