Why can't I import files via FTP, DropBox, iCloud, iTunes etc?
All App features to import files into DraftCode had to be disabled on Apple's request. This is a restriction currently applying to Apps that execute code. There are however creative ways to work around this limitation.
You can for instance use PHP to import a project like illustrated in this post.
This is just one simple example. There are many other options via PHP.
There is also the amazing WorkingCopy App
on iOS which uses this workaround in a beautiful way to integrate Git with DraftCode. Access to Git adds a lot of value and the solution is also very easy to use.
Do you support Git?
To integrate with Git, you can currently use WorkingCopy App
which has built-in support of DraftCode.
How can I export my work?
You can hand any file in the workspace over to another iOS App via the standard share button available in the top right corner of the editor. This way you can e-mail yourself or transfer files using Apple's Notes App, or upload to Dropbox.app or the FTP App of your choice.
If you want to hand over a whole folder, simply zip it first by tapping the folder's name in the file viewer and selecting "zip" from the action menu. (You can also tap the filename of a selected zip archive in the source viewer to unzip it.)
If you use WorkingCopy, you can hand over a zip to it and the App will guide you through how the changes should be imported into the repository.
What does MySQL support mean? Is a MySQL database included?
No. MySQL support means that the MySQL PHP extentsion is included which allows you to access any MySQL database on the network via PHP in DraftCode. A MySQL database itself is not (and cannot be) included. For offline database work we strongly recommend to investigate using SQLite3, which is included and does not require an external database server. It is a full blown SQL database and if your App uses PDO you should be able to simply switch over. The included WordPress package for example runs completely offline using a WordPress SQLite plugin.
How is the runtime different from an actual webserver?
From the perspective of your PHP App running inside DraftCode there is no difference or limitation whatsoever compared to running on a normal webserver. Please note that you however can NOT access the runtime from other iOS Apps or other devices on the local network.
Which PHP extensions are included?
Why don't you include *name of extension*
Here is DraftCode's phpinfo
output which shows all currently included extensions. Compiling PHP for iOS is a non trivial task and certain extensions pose significant challenges. It's unfortunately not as simple as "just including them all".
Please get in touch if you need an extension to be supported. It helps us to prioritise what to work on next.
I love DraftCode, how can I help keep it going?
The AppStore is a challenging place for niche Apps like DraftCode. Please help spread the word and rate/review every new version of DraftCode. It really helps! And if you find an issue or are angry about something, please get in touch with us before deciding to write a bad review.
Get in touch
Please send a message to the e-mail address:
support -at - solesignal.com.