background preloader

Corona SDK

Facebook Twitter

(Part 2) Automated Testing on iOS Devices: Automating Xcode with Scripting Bridge via LuaCocoa. The fundamental problem is that there are no good automated ways to install and launch an app to an iOS device.

(Part 2) Automated Testing on iOS Devices: Automating Xcode with Scripting Bridge via LuaCocoa

We don’t want to jailbreak our devices because that can cause other problems (like breaking push notifications and in-app purchases). I would love to be corrected (please tell me!) , but otherwise, there are no command line tools Apple provides to help with this. Those who are wondering, the command line tool xcodebuild will not install to a device, and instruments (for UIAutomation) will not install an application to a device either. I looked at iTunes, Xcode Organizer (3.x, 4.0) and the iPhone Configuration Utility. Digging around the Scripting Bridge dictionaries of the above apps.

At the time, Xcode 3 was the current stable release and it was not known when Xcode 4 would ship. Scripting Bridge and LuaCocoa in nutshell Officially, Apple supports Objective-C, Python (via PyObjC), and Ruby (via RubyCocoa or MacRuby) as alternative Scripting Bridge languages. #include. Teach me how to...: If I were a carpenter... would you buy my tables? I know, I should not quit my day job to be a songwriter.

Teach me how to...: If I were a carpenter... would you buy my tables?

However having said that, it is not that bad either that I cannot have some new *artistes* buy my lyrics and make some rap spelled with a big C for Carpenter in the front, songs. Anyways, this is not about song and dance, nor about how to make your own carpentry home projects, we Aussies have Bunnings and I guess the Americans have Lowes and I do not know what the British and other have, but you get the idea. This is about creating arrays and tables in Lua as requested by one particular reader of these forums.

Tutorial: Scopes for Functions. Simple function local function main() print("Hello from CoronaSDK") end main() This shall work perfectly fine and print Hello from CoronaSDK when we run it.

Tutorial: Scopes for Functions

Forward Declarations There are cases when we need to pre-declare a function, so here’s how we do it local main local function init() main() end function main() print("Hello from CoronaSDK") end init() Teach me how to...: CoronaUI - An amazing step for developers using CoronaSDK. CoronaSDK has a new update, an amazing development that is totally a code based solution that can be added to the project.

Teach me how to...: CoronaUI - An amazing step for developers using CoronaSDK

This brings to the user the ability to create the Native UI that was missing from CoronaSDK for so long. Now developers can make apps that mimic the UI of the iOS devices, including the Switches, the screens, the lists, sliders, etc. This new rich functionality that is added is a boon for many developers that were looking for creating Enterprise / non-gamey apps. This is the first release and doesn't come 100% and has it's own share of issues. Simple Image Download @ansca #CoronaSDK. Wiki: Simple Lua Classes. A Simplified Way to Declare Lua Classes Out of the box, Lua does not have a class system, but its powerful metaprogramming facilities makes defining classic objects straightforward.

wiki: Simple Lua Classes

In fact, there's a number of ways of doing this; together with the unfamiliar notation, this makes object-orientation in Lua seem a little intimidating at first. The method described here is the most common and flexible method, using metatables. Programming - Programming in Lua : contents. This book is a detailed and authoritative introduction to all aspects of Lua programming written by Lua's chief architect.

Programming - Programming in Lua : contents

Programming in Lua provides a solid base to any programmer who wants to use Lua. It covers all aspects of Lua—from the basics to its API with C. The book is the main source of programming patterns for Lua, with numerous code examples that help the reader to make the most of Lua's flexibility and powerful mechanisms. The book is targeted at people with some programming background, but it does not assume any prior knowledge about Lua or other scripting languages. When you buy a copy of this book, you help to support the Lua project. For the official definition of the Lua language, see the reference manual. Fourth edition The fourth edition updates the book to Lua 5.3 and marks a complete reorganization of the text. Programming - lua-users wiki: Lua Books. Create iPhone, iPad and Android games and apps faster with Corona SDK. Starting in daily build 2014.2264, we are changing the minimum supported version on Android from 2.2 to 2.3.3.

Create iPhone, iPad and Android games and apps faster with Corona SDK

This means that if you do a device build with 2014.2264 (or later), your app will not run on a device whose version is below Android 2.3.3. On iOS, many apps include a share button that lets you share your app’s features, whether it be a message, an achievement, or a high score via various services like Facebook, Twitter, email, etc. This week’s tutorial outlines the basic steps to construct a sharing panel in the iOS 7 style.

During this week’s Corona Geek Hangout, Corona Ambassador, Sergey Lerg introduced us to using the Go programming language and Google App Engine in combination with Corona SDK. We walked through server side Go code that stores data in a Google Cloud Datastore using NoSQL and we looked at a Corona code project that displays the returned data in an app that can be built for any of the Corona supported mobile platforms. Share Your Code @ansca #CoronaSDK. Learning Corona: A List of Corona SDK Tutorials, Resources & Tools.