The fundamental problem is that there are no good automated ways to install and launch an app to an iOS device. 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. (Part 2) Automated Testing on iOS Devices: Automating Xcode with Scripting Bridge via LuaCocoa | Ansca Mobile Blog | » Archive
I know, I should not quit my day job to be a songwriter. 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. So, Darkconsoles, I am taking your request for tables and we shall try to see what tables are and how do we work and manipulate them. Teach me how to...: If I were a carpenter... would you buy my tables?
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. 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() Tutorial: Scopes for Functions | Ansca Mobile Blog | » Archive
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. 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.
Mobile App Examples | Simple Image Download @ansca #CoronaSDK
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. 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. A table's behavior can be customized by giving it a metatable. For instance, if the metatable has an __index function, then any failed attempt to look up something in the table will be passed to __index. wiki: Simple Lua Classes
third edition · second edition · first edition · errata · online version · amazon · e-book · manual This book is a detailed and authoritative introduction to all aspects of Lua programming written by Lua's chief architect. Programming in Lua gives a solid base for any programmer who wants to use Lua. It covers all aspects of Lua—from the basics to its API with C—explaining how to make good use of its features and giving numerous code examples. 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.
The following are books containing information solely, or in part, on Lua. Ideally these are published and have an ISBN. Please don't list works in progress. Beginning Lua Programming Beginning Lua Programming by Kurt Jung and AaronBrown. Programming - lua-users wiki: Lua Books
Coding | Ansca Mobile Blog | Create iPhone, iPad and Android games and apps faster with Corona SDK Welcome to the second installment of From the Forum. In this series, guest blogger Alex Jackson will highlight outstanding threads from the Corona Forum. The goal is to bring attention to the most captivating, interesting, and thought-provoking discussions taking place in our very own backyard. Please visit the forum to join these conversations or start your own! 1.
Mobile Application Development | Share Your Code @ansca #CoronaSDK