Skip to content

brianofearain/datasnap-ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataSnapClient

A Vendor neutral iOS Sample app and SDK for DataSnap.io

Documentation:

See http://datasnap-io.github.io/sendingdata/ for more information on event types.

Quickstart

  1. #import "DataSnapClient/DSIOClient.h" in your source
  2. [DSIOClient setupWithOrgAndProjIDs:@"" projectId:@"" APIKey:@"" APISecret:@""]

How to send events

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.

Example Event:

    NSMutableDictionary *beaconSighting = [NSMutableDictionary dictionaryWithObjects:beaconSampleValues forKeys:beaconEventKeys];
    [[DSIOClient sharedClient] beaconEvent:beaconSighting];

About

ios sdk and sample

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors