From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p129HhPR023090 for ; Wed, 2 Feb 2011 10:17:43 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmEFABewSE2uedqy/2dsb2JhbACWdY8WvGeFUwSEeIoQ X-IronPort-AV: E=Sophos;i="4.60,413,1291590000"; d="scan'208";a="90486810" Received: from b2.da.79ae.static.theplanet.com (HELO pse.psellos.com) ([174.121.218.178]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 02 Feb 2011 10:17:37 +0100 Received: from [192.168.0.74] (97-113-252-44.tukw.qwest.net [97.113.252.44]) (authenticated bits=0) by pse.psellos.com (8.13.8/8.13.8) with ESMTP id p129HX4N024372 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 2 Feb 2011 03:17:35 -0600 Content-Transfer-Encoding: 7bit From: Jeffrey Scofield Content-Type: text/plain; charset=us-ascii Message-Id: <286FD1E3-3ACD-48CD-BD6C-5FA9E7862475@psellos.com> Date: Wed, 2 Feb 2011 01:16:36 -0800 Cc: Jeffrey Scofield To: caml-list@inria.fr Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Subject: [Caml-list] Example iPhone apps in OCaml For anyone interested in writing iPhone apps in OCaml, I've written up two examples. You can get the sources and build instructions here: http://psellos.com/ocaml/example-app-portland.html http://psellos.com/ocaml/example-app-slide24.html The first is very simple, just to test the basic compiling, linking and packaging. When you run it, it shows you which side of your iPhone is facing up. The second implements the 5 x 5 sliding tile puzzle. If you're pressed for time it will solve the puzzle for you using the A* heuristic search algorithm, then animate the solution. Hopefully they'll be useful to some fellow OCaml/iPhone coders. I'm very happy to receive comments, questions, and corrections. Regards, Jeffrey Scofield Seattle