I thought that Codea users who do back-up/ source control/ versioning via Git might be interested in Working Copy, a rather nice Git client for iOS (I’m not affiliated with anyone involved in this app).
This one is interesting because whereas earlier Git apps on iOS had a relatively restricted function set, just allowing you to browse, or manage issues or whatever, this one has the sort of features you’d normally see in a desktop client (albeit a fairly paired-down one, like say Github for Mac). It’s free for read-only (eg pulling a repository, browsing through all the changes made in the various versions), and the full version that allows you to edit and push changes is an IAP of £7.99. It has a nice viewer with syntax recognition (including for Lua, see the screenshot below), and a great “diff” viewer, that shows you insertions and deletions, either in a split-screen side-by-side view, or an integrated list.
But what’s really interesting is it supports the iOS 8+ “Open In” framework, which suggests some interesting future possibilities. In the past of course, code-executing apps such as Codea were required by Apple to remove “Open In” functionality, but it seems that Apple is reversing that policy a little, in part because of how much iOS 8 uses inter-app functionality. That is only going to accelerate once iOS 9 launches with split-screen multitasking. @Simeon has mentioned on this forum that he might look into whether it’s possible to bring back “Open In” for Codea.
Right now, I’m only going to use this in read-only mode, as a nice complement to @juce 's IMO indispensable Git client, Codea-SCM. Codea-SCM allows you push the latest version of your Codea project to a Git server, or pull a prior version if you need to roll back changes. Working Copy, like a desktop Git client, allows me to browse back through all the previous versions of a project (without needing an internet connection), making it easier to identify, for instance, which prior build it is I want to pull. If you use the “time machine” backup that Macs ship with, that’s what it feels like.
Working Copy has built-in support for GitHub and BitBucket, and it was incredibly easy to set up with BitBucket. It supports SSH keys, and just a few presses had the app authorised with my BitBucket account, so I could access all the Codea projects I have there. According to the docs though it can be set up with any Git website or server.
In the screenshot above I’m browsing one of my Codea projects (though this particular chunk of code is by @Ignatz ). You can see my Codea tabs on the left, and the share/ open-in pane on the right. Wouldn’t it be awesome to see a Codea icon in there? Even better, Working Copy also supports apps pushing content to it. If Codea gets two-way “Open In” support, both in to Codea and out of Codea, then something like Working Copy could be the Git client we use to back-up/ version control our Codea projects. At that point, the £7.99 “push” IAP would be pretty indispensable I reckon.
I love that iOS is gradually becoming more desktop-like, less of a walled garden.