Go here to get the source code of the IOS client.
This project can be opened and compiled directly from Xcode.