(Part 2) Automated Testing on iOS Devices: Automating Xcode with Scripting Bridge via LuaCocoa | Ansca Mobile Blog | » Archive. 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. 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.
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. Tutorial: Scopes for Functions | Ansca Mobile Blog | » Archive. 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() 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. 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.
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. Programming - Programming in Lua : contents.
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. Programming - lua-users wiki: Lua Books.
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. Coding | Ansca Mobile Blog | 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.
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. Share Your Code @ansca #CoronaSDK. Learning Corona: A List of Corona SDK Tutorials, Resources & Tools.