dalchymia sample code for ios