This is a sample project that demonstrates how to use the OpenCanvas platform to build a location based iOS app.
Sample project is using cocoa pods for dependency management. Current version is dependent on JSONKit and MKNetworkKit pods. You need to have cocoa pods installed. More info about cocoa pods installation you may find here: cocoapods.org
Clone the sample OpenCanvas project locally in a folder of your preference.
After successfully cloning the project, run pod install from terminal inside the folder of the cloned project (where Podfile file resides).
Open the RoutesSample.xcworkspace file in Xcode and click run. Voila!
The app contains a single map view. Initially, a request is made to the OpenCanvas server (through OpenCanvas API) and a list of routes (see Route class) is downloaded. For testing purposes, first route is selected by default and a second request is made to obtain the list of POIs (see Place class) that are related to this route. These places are then presented on a map view.