Write code on iPad, offline I want to write code on my iPad, with the possibility to do it offline and to download the files later on my computer (MacBook Pro), for instance via iTunes.


I am right now coding in Java.
Offline compiling is not my priority now. 
Of course if there exists an app which can execute Java (or other languages, Swift, Python, Objective-C, etc.) it is a plus.


I am looking for tools that don't need jailbreak.
the best app I ever used: Textastic. It costs about 7 USD/EUR and it is one of the most sophisticated apps I know.
I am a web and app developer and I like to use it with SFTP connection support and Dropbox combination ...

https://itunes.apple.com/us/app/textastic-code-editor-6/id1049254261?mt=8

https://www.textasticapp.com