A Vendor neutral iOS Sample app and SDK for DataSnap.io
See http://datasnap-io.github.io/sendingdata/ for more information on event types.
#import "DataSnapClient/DSIOClient.h"in your source[DSIOClient setupWithOrgAndProjIDs:@"" projectId:@"" APIKey:@"" APISecret:@""]
DSIOEvents contains arrays with keys, representing the properties required for each event type. DSIOProperties contains dictionaries for showing how to build each of the these properties. The ViewController in the sample, contains a fully worked out Beacon Sighting Event using sample data. It also shows how to send data to DataSnap using a generic event function.
NSMutableDictionary *beaconSighting = [NSMutableDictionary dictionaryWithObjects:beaconSampleValues forKeys:beaconEventKeys];
[[DSIOClient sharedClient] beaconEvent:beaconSighting];