Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.
/ LiveApp Public archive

A server-driven SwiftUI solution powered by App Maker Professional's SwiftUI Interpreter.

Notifications You must be signed in to change notification settings

App-Maker-Software/LiveApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Live App

This repository hosts both the Swift Package and Homebrew CLI for Live App, a server-driven SwiftUI solution powered by App Maker Professional's SwiftUI Interpreter. Also provides extremely "fast SwiftUI previews" for local development.

The Swift Package adds less than 1 megabyte to your app footprint.

This is under active development, if you would like to contribute, contact Joe Hinkle.

Notice: No longer being worked on

This project was never finished nor will it be worked on for the foreseeable future.

Fast SwiftUI Previews

liveapp-fruta-demo

In the demo GIF above, the app was only compiled once before recorded started. ALL updates you see were performed automatically through LiveApp's hot reload server.

Documentation

http://docs.liveapp.cc/

Installing

http://docs.liveapp.cc/#/installation

Install the liveapp CLI with Homebrew.

# (optional) brew update
brew install App-Maker-Software/tools/liveapp

Add this script as a "Run Script" phase to your build phases in Xcode.

if ! /usr/bin/liveapp build:bundle ; then
    if ! /usr/local/bin/liveapp build:bundle ; then
        /opt/homebrew/bin/liveapp build:bundle
    fi
fi

Then start using the LiveView protocol in place of the SwiftUI View for any view you want to be updatable remotely.

Swift Interpreter

The Swift interpreter is in it's own repo here.

While the interpreter mainly excels at interpreter declarative-style SwiftUI code, its eventual goal is to be able to run most imperative-style Swift code too. You can quickly see it's support for various Swift features by looking at the test results automatically written to this markdown file. You can also run these tests locally yourself if you wish.