Demo OSX client for the Force.com Streaming API
Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
StreamingApiDemo.xcodeproj
json
streamingApiDemo
.gitignore
readme.md

readme.md

Streaming Api Demo

This is an OSX 10.6 application that demonstrates the Force.com Streaming API (currently in pilot).

You can download a build version of the code from http://www.pocketsoap.com/osx/streamer.

Around the code

StreamingApiClient : This is the primary Api client class, it handles the cometd protocol used by the streaming api, and calls methods on the delegate when messages arive, or the connection state changes.

*Controller : These classes are primarily responsible for coordinating the various pieces of the UI

UrlConnectionDelegate: These are some helpers that handle common cases/patterns with the URLConnection delegate implemenation, these are uses as the basis for all the HTTP requests made by the app.