A counter argument - please keep Dropbox even if you implement direct IP ...

@ksan Thanks for the heads up! 

Just picked up Textastic, and in short order, I was editing code from my iPad, and watching my iPhone refresh the corona viewer.  Nice!

Oooh! You went dual screen ha? Cool dev rig!!!  :slight_smile:

Great tip Kerem. Thanks for sharing.

If you don’t already use TextExpander for iOS, you might want to check it. The video on this page shows the app in action.

Basically you can create snippets to reduce the amount of typing needed. Textastic integrates directly with TextExpander, so you access all your snippets in Textastic and other supported apps. If you have the desktop version of TextExpander you can also sync snippets between your desktop and iOS device using Dropbox automatically.

One thing to note is that when you add snippets in TextExpander, you will need to manually refresh your snippets in Textastic for any new snippets / changed snippets to show up. There may be an auto-update setting somewhere, but I haven’t found it.

There’s also a cool TextExpander feature called “Fill-in fields” that let’s you create snippets with data placeholders where you want to enter values to be plugged into your snippet on the fly. I’m still experimenting, but imagine a code block snippet that gives you form field options to enter values before it expands the block in Textastic.

“Fill-in fields” are demonstrated at the 3:11 mark in the video:

Have fun!

Wow. This is great!!! Thanks for sharing this tip. I can see this being very useful. Will get it right away.

Anybody figure out a decent way to see error messages? I’m in a coffee shop writing code on my iPad and seeing my iPhone refresh – it’s so cool. Except I’ve apparently introduced an error and without a terminal I can’t use print to debug. I have no clue where to look for the error. Ack! Any ideas? Jay

you could output print statements to an on screen scrollview. i did that before.

if you can wait about 9 hours i can dig up the code for you (in bed right now)

I have a very promising lead on this. Checking it out right now… Take a look : 

https://itunes.apple.com/us/app/consolekit/id648875678?ls=1&mt=8

ConsoleKit : 

"ConsoleKit is an ios universal application,help you to get console logs of any application instantly on device and allows you to share log information via email. 

No tethering required!. ConsoleKit Application in available for both iPad and iPhone."

Argh… Cheered too soon … “The ConsoleKit app is not supported by latest version of Apple iOS 7”

Yeah, looks like there are a few console view type apps, but they all broke with iOS7. Looks like we’ll have to wait for iOS8 which has the ability to share info from app to app more easily. :frowning:

Got home and found the problem that was stalling me 00 a missing ) at the end of a line. I looked HARD for that kind of stuff and still didn’t see it – a thousand print statements wouldn’t have found that error. We really need an “official” solution…

…although I know remote dev isn’t the reason they created CoronaViewer. But I think it can be such a huge selling point that they should give it more dev hours. Writing the output to a text file in Dropbox would probably be the easiest to implement and would be easy for us to use (just open the log file in another tab and refresh when needed).

 Jay

I fully agree. This should be much simpler when compared with the actual Corona Viewer tool itself. Lets hope there is some additional support going into the tool. 

I think Sergei has the answer to our little problem here :

http://spiralcodestudio.com/corona-sdk-pro-tip-of-the-day-22/

Thanks much Sergei!!!

And a new library posted just today channeling all errors and print statements to a text file.

http://forums.coronalabs.com/topic/50004-corona-advanced-logging/

This might help with our use case. Will try later today.

ksan, what an awesome tip!

I didn’t I had a current need for Corona Viewer, but this use case will help me a LOT! 

Great find!

 Jay

Indeed, great point!

Ksan, can you tell us the name of the editor please? :wink:

Glad to hear you like the idea. I might even go back to a full size iPad just for this reason. 

The editor I have is called PlainText and its by 433 Labs. It has an ad supported free version which has full DropBox support (along with iCloud and saving on iPad etc) and costs $2.99 to remove the ads. This is the one I happened to have and works well but I’m sure there will be others out there too. Please post back if you have any other Dropbox capable editors which you find works well with this use case. 

Thanks much!!! 

Now *that* might even be worth re-thinking my workflow… great find!

Thanks, I assume it has Lua syntax highlighting?

How did my post above end up as Guest_Guest?  :huh:

As the name implies… its a PlainText editor with very little bells & whistles. I’m sure there’ll be a better editor out there for our purposes.

I must also raise a small concern about this use case.

If someone was to compile the Corona Viewer into an app, name it something else and put it on the App Store as a free app, anyone who downloads it could potentially develop using Corona SDK on their iPads without paying Corona Labs anything. They would also presumably have access to all Pro features without paying Pro fare.

Not sure if CL will be concerned about this but thought I should air the possibility out here so they can make the decision on whether to build some controls in or not… 

There is a great list of IOS editors here. Not sure how current it is but its a start : 

http://brettterpstra.com/ios-text-editors/

This one looks great! Texttastic. Seems like it supports a number of languages. I’m sure LUA is in there. Will check it out. The screenshots look great! 

https://itunes.apple.com/us/app/id383577124?mt=8