Swiftpack.co - App-Maker-Software/LiveApp as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by App-Maker-Software.
App-Maker-Software/LiveApp 0.4.1
A server-driven SwiftUI solution powered by App Maker Professional's SwiftUI Interpreter.
⭐️ 16
🕓 2 years ago
iOS linux macOS iOS
.package(url: "https://github.com/App-Maker-Software/LiveApp.git", from: "0.4.1")

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


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.





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

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.


Stars: 16
Last commit: 5 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.


Release Notes

2 years ago

Major update. New documentation in the works

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics