lib/ios: add README.md file
authorAlexis Laferrière <alexis.laf@xymus.net>
Fri, 29 Jan 2016 15:14:47 +0000 (10:14 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 9 Feb 2016 19:41:47 +0000 (14:41 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/ios/README.md [new file with mode: 0644]

diff --git a/lib/ios/README.md b/lib/ios/README.md
new file mode 100644 (file)
index 0000000..66972fd
--- /dev/null
@@ -0,0 +1,21 @@
+iOS support for _app.nit_
+
+# System configuration
+
+Configure your system for OS X by installing Xcode and brew.
+Follow the instructions in `README.md` at the root of the repository.
+
+Optionally, install ios-sim to run compiled apps in the simulator: `brew install ios-sim`
+
+# Compile and run a simple application
+
+Let's use the `hello_ios` example in the folder `lib/ios/examples/`.
+
+Compile with: `nitc hello_world.nit`
+
+Run in the simulator with: `ios-sim hello_world.app`
+
+# Portable calculator application
+
+See the calculator example at `examples/calculator` for a portable application working on GNU/Linux, OS X, iOS and Android.
+The iOS version is compiled with `make bin/calculator.app`.