Hi,
Most new comers will wonder how to write their code, what editor to use and how to get syntax highlighting and autocomplete.
Hidden (I say hidden 'coz I just read that today). I downloaded the file from http://www.capgo.com/Resources/SoftwareDev/LuaXcode3SyntaxColor.zip and unzipped it and copied the files to the ~/Library/Application Support/Developer/Shared/Xcode/Specifications/ directory. You might have to create the directory called Specifications before you can copy the files there.
What I also did was add a few more commands. These were to test, like display.newImage, display.newRect, etc.
Then I started XCode and with NO project, just chose a blank file, called it main.lua and started to type in some code…
Voila, Syntax Highlighting, press ESC, code completion… WOW!! Amazing, now the process of development can be more fun and faster than working with TextEdit or TextWrangler.
I also got my hands on Corona Project Manager yesterday, add this to your repertoire of tools and you are all set.
I shall try to add the Corona keywords and share them with you here.
I found this to be the easiest and more intuitive way to code for Corona. Now if there was a way to compile and run from xcode itself.
cheers,
Jayant C Varma [import]uid: 3826 topic_id: 3775 reply_id: 303775[/import]