Example code for connecting a native iOS app to the DreamFactory API.