1111
1212_ Going fully declarative_ : Direct to SwiftUI.
1313
14+ ** Direct to SwiftUI**
15+ is an adaption of an old
16+ [ WebObjects] ( https://en.wikipedia.org/wiki/WebObjects )
17+ technology called
18+ [ Direct to Web] ( https://developer.apple.com/library/archive/documentation/WebObjects/Developing_With_D2W/WalkThrough/WalkThrough.html#//apple_ref/doc/uid/TP30001015-DontLinkChapterID_5-TPXREF101 ) .
19+ This time for Apple's new framework:
20+ [ SwiftUI] ( https://developer.apple.com/xcode/swiftui/ ) .
21+ Instant
22+ [ CRUD] ( https://en.wikipedia.org/wiki/Create,_read,_update_and_delete )
23+ apps, configurable using
24+ [ a declarative rule system] ( http://www.alwaysrightinstitute.com/swiftuirules/ ) ,
25+ yet fully integrated with SwiftUI.
26+
27+ There is a blog entry explaining how to use this:
28+ [ Introducing Direct to SwiftUI] ( http://www.alwaysrightinstitute.com/directtoswiftui/ ) .
29+
30+ A Direct to SwiftUI variant using
31+ [ CoreData] ( https://developer.apple.com/documentation/coredata )
32+ instead of
33+ [ ZeeQL] ( http://zeeql.io )
34+ can be found over here:
35+ [ CoreDataToSwiftUI] ( https://github.com/DirectToSwift/CoreDataToSwiftUI ) .
36+
1437## Requirements
1538
1639Direct to SwiftUI requires an environment capable to run SwiftUI.
@@ -37,6 +60,30 @@ The package URL is:
3760- [ Views] ( Sources/DirectToSwiftUI/Views/README.md )
3861- [ Database Setup] ( Sources/DirectToSwiftUI/DatabaseSetup.md )
3962
63+ ## What it looks like
64+
65+ A demo application using the Sakila database is provided:
66+ [ DVDRental] ( https://github.com/DirectToSwift/DVDRental ) .
67+
68+ ### Watch
69+
70+ <p float =" left " valign =" top " >
71+ <img width =" 200 " src =" http://www.alwaysrightinstitute.com/images/d2s/watchos-screenshots/01-homepage.png?v=2 " >
72+ <img width =" 200 " src =" http://www.alwaysrightinstitute.com/images/d2s/watchos-screenshots/02-customers.png?v=2 " >
73+ <img width =" 200 " src =" http://www.alwaysrightinstitute.com/images/d2s/watchos-screenshots/03-customer.png?v=2 " >
74+ <img width =" 200 " src =" http://www.alwaysrightinstitute.com/images/d2s/watchos-screenshots/04-movies.png?v=2 " >
75+ </p >
76+
77+ ### Phone
78+
79+ <p float =" left " valign =" top " >
80+ <img width =" 320 " src =" http://www.alwaysrightinstitute.com/images/d2s/limited-entities.png " >
81+ <img width =" 320 " src =" http://www.alwaysrightinstitute.com/images/d2s/list-customer-default.png " >
82+ </p >
83+
84+ ### macOS
85+
86+ Still too ugly to show, but works in a very restricted way ;-)
4087
4188## Who
4289
0 commit comments