Dynamically loading Lua scripts
Part of the power of a scripting language like Lua, is that scripts can be loaded and re-loaded at run-time. This means you can test your game logic without having to re-compile your Objective-C++ code.
In this recipe, we will load a remote script from a local web server.