GitXplorerGitXplorer
r

Goldengate

public
22 stars
1 forks
9 issues

Commits

List of commits on branch master.
Unverified
6a2be61b596529c18c60c6b4694f3949edfcba45

Podspec

rradex committed 9 years ago
Unverified
aa75dcdc110f6a073155b65dee96adc72226bdac

Update to Swift 1.2

rradex committed 9 years ago
Unverified
c80ceb09d15d773145315ab964bfbd6aa91ccabf

Add Plugin.Action class

rradex committed 10 years ago
Unverified
0f67016b5ba39040d3a211d4115d53501d8c2f15

Infer plugin name for plugin class

rradex committed 10 years ago
Unverified
4cf090d491b001cf48f498a8d661b0ea360e6061

Get rid of Router class

rradex committed 10 years ago
Unverified
9e9c64caad75eeacfd1b04341500f54bc7d56a12

Automate drawRoutes using Objective-C runtime capabilities

rradex committed 10 years ago

README

The README file for this repository.

Goldengate

Goldengate intends to be a replacement for Cordova/PhoneGap on iOS and Mac. Why? Cordova is designed with the assumption that you don't want to know anything about native app development — and that is just plain annoing to me.

Features

  • built with WKWebView, Swift & CoffeeScript
  • works on iOS and Mac
  • very lightweight (no support for legacy systems, etc.)
  • asynchronous calls using Promises, not callbacks
  • (WIP) nice syntax for calling plugins from JS: Goldengate.PluginName.method(args)
  • (WIP) a compatibility layer for importing existing Cordova plugins

Issues

At the moment, Goldengate is (and can be) only a proof of concept, because WKWebView can't load web pages from the app bundle. This has been fixed on the upstream repo, but it's possible that the necessary API won't be added until OS X 10.11 / iOS 9.

Idea to try: according to this tweet, WKWebView can load local files from /tmp. Can we try making a tmp directory at launch and copying the needed files there?

Dependencies/setup

Xcode project requires Xcode 6.1 running on OS X 10.10. The web component requires CoffeeScript (accessible globally via coffee command).

You need Pow to serve the web page locally (as noted above, WKWebView can't load from app bundle). Point ~/.pow/goldengate to the GoldengateJS directory. Alternatively, if you're using a different web server, edit the URL in AppDelegate.swift

If you're working on the web component, be sure to run the watcher script (./watch from GoldengateJS) beforehand. It will listen to changes in CoffeeScript files and compile them.

Contributing

If this sounds like something you'd want for yourself, please feel free to contribute and open a pull request. There's a bunch of open issues you can choose from. And if you want to talk about the project some more, email me