“Through this be madness...”
LuaCocoa v0.3.3 Released and v0.4.0 Imminent
I have been working hard on major new features for LuaCocoa. These features are so big, that I decided to rollout a final 0.3 release so I can get a clean slate with 0.4.
So as of today, LuaCocoa 0.3.3 is out. (Binary package is already posted.)
http://playcontrol.net/opensource/LuaCocoa/
Version 0.4.0 has been in heavy development on my Assembla branch for over a month now. With 0.3.3 done, I immediately merged my 0.4 branch into mainline and you can grab it from the main repository at BitBucket.
Objective-C Blocks
The big new feature in LuaCocoa is full support for Obj-C blocks which allow you to do everything you might expect, e.g. create blocks from Lua functions, auto-coerce Lua functions when passed as a parameter to a function expecting a block, invoke blocks from Lua, pass blocks through both sides of the bridge, etc. …
LuaCocoa v.0.3.2 Released
Happy New Year everybody! I have released LuaCocoa 0.3.2 into the wild.
This version contains fixes for Lion plus improvements to the command line tools.
v 0.3.2: (More Lion fixes, command line libreadline support, PowerPC dropped)
- Fixed bug for prepping ffi data return values for structs which was manifesting itself as a ffi failure on Lion 64-bit calling cascadeTopLeftFromPoint in the MinimalAppKit example .
- The command line tools lua and luacocoa are now compiled with LUA_USE_READLINE defined allowing things like up-arrow history searching/repeating.
- Notes on readline support:
- Linking against libreadline is problematic for backwards compatibility because Apple always writes the resolved symbolic link in the executable. …
My Top 4 Reasons for purchasing SEE Finance over iBank 4
A little over a month ago, I wrote an article about trying to decide between iBank 4 and SEE Finance. I finally made a decision and just purchased a license for SEE Finance.
Here are my Top 4 Reasons for picking SEE Finance over iBank 4:
1) Vanguard Direct Download support
As I said in the previous part, this wasn't originally on my mind, but after realizing how much of a pain it is to manage manually and the fact that SEE Finance already supports Direct Download for Vanguard, this really became the clincher for me.
2) Customer Service/Support
I had a few questions, discovered a few bugs, and had a few feature requests, so I emailed SEE Finance's support. …
New Video Available: Presentation at CocoaHeads (Silicon Valley) on iOS Audio & OpenAL
I gave a presentation about iOS Audio and OpenAL to promote the book two weeks ago at the Silicon Valley Chapter of CocoaHeads. The video is now up on YouTube. I also have it embedded on my Screencasts page.
Automated Testing on Android Devices (Part 5): Bringing everything together through shell scripts
This post is a mirror of what I posted on Anscamobile.com.
There has been a lot of material presented over the last four parts. In this final part, we will finally go into some detail about our automated testing system for Android. We will also finally get an opportunity to bring everything together by looking a little more how our shell scripts orchestrate the test run and connect components from the previous parts.
Android was a lot easier to setup automated on-device tests than iOS because the entire toolchain is command line driven. But ironically, actually running the tests has been more unreliable for us, mostly due to some bug related to adb. For some reason we can't explain, adb will hang on us and it will not allow us to communicate with our device. …
Automated Testing on the iOS Simulator (Part 4): Scripting Bridge/LuaCocoa & System Events
This post is a mirror of what I posted on Anscamobile.com.
We allow Corona developers to also build for the Xcode iOS Simulator. Sometimes the simulator is preferable to our Mac or Windows simulator because the Xcode Simulator behaves more like a real device. Since we officially support the Xcode Simulator, we run our automated tests on the Xcode iOS Simulator to help verify our stuff actually works.
While we could theoretically reuse the same process of scripting Xcode that we described in Part 2, we opted for a slightly different approach. As described in Part 2, Xcode 4 broke everything so we didn't want to put this in the same critical path. Furthermore, Xcode 4 has some very nice speed improvements and reduces our build times to almost half.
…



View Comments