Initial commit
adding basic ios library for segment.io -- works but incomplete without auto-flushing mechanisms
updating readme
moving around variables, fixing compilation issues
splitting up static functions into separate components
fixing pointer issue
fixing debug log comment
removing unnecessary cancelflush function
cleaning up response handling
fixing up debug mode
basic auto-flushing based on queue length now working
improving log messages
adding flushafter timer and cleaning up its memory
Analytics now compatible with both iOS and OS X. Removed unneeded dependency on JSON lib. Rolled up uniqueId and dateFormatting into static functions in Analytics.m
Moving Analytics.{h/m} into root folder. Removing no longer needed classes
Using device id as sessionId rather than persistent user id. Let client provide its own userId
Changing the flush duration to 5. Need debugging configuration to test analytics while developing. Confirmed working on Mac
More idiomatic singleton API methods. Swtched thread-safety implementation from @synchronized to dispatch_queue
Added assert call to ensure thread safety. Flushing interval changed to 30 secs
It's ok to not pass in userId when identifying (sessionId still exists), but not ok to pass empty event name