Finished iOS version of demo.