You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@corinthia.apache.org by pm...@apache.org on 2015/03/17 18:23:45 UTC

incubator-corinthia git commit: Add note about purpose of JS Interface sources

Repository: incubator-corinthia
Updated Branches:
  refs/heads/master 110465409 -> e4f977c4c


Add note about purpose of JS Interface sources


Project: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/commit/e4f977c4
Tree: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/tree/e4f977c4
Diff: http://git-wip-us.apache.org/repos/asf/incubator-corinthia/diff/e4f977c4

Branch: refs/heads/master
Commit: e4f977c4ca2929b4d93aa2b6dcd01d08922346fa
Parents: 1104654
Author: Peter Kelly <pe...@uxproductivity.com>
Authored: Wed Mar 18 00:23:17 2015 +0700
Committer: Peter Kelly <pe...@uxproductivity.com>
Committed: Wed Mar 18 00:23:17 2015 +0700

----------------------------------------------------------------------
 sample_code/objc_bindings/WARNING | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-corinthia/blob/e4f977c4/sample_code/objc_bindings/WARNING
----------------------------------------------------------------------
diff --git a/sample_code/objc_bindings/WARNING b/sample_code/objc_bindings/WARNING
new file mode 100644
index 0000000..cbc20f2
--- /dev/null
+++ b/sample_code/objc_bindings/WARNING
@@ -0,0 +1,12 @@
+IMPORTANT NOTE: This code does not work in it's current form, and exists for
+illustrative purposes only. It is an excerpt from the UX Write source code
+indented to show how the bindings between Objective C and JavaScript are
+implemented, both in terms of calling *in* to JavaScript, and calling *out* of
+JavaScript (that is, callback functions).
+
+The files in this directory should be considered temporary. They are here for
+the purpose of demonstrating to developers of various bindings how this can be
+achieved. It is envisaged that once there is at least one binding that has been
+developed purely as part of the Corinthia project, that will serve as the
+example for any future bindings, and the Objective-C/Apple-specific files can be
+removed.