https://github.com/lukeredpath/pusherchat-iphone
An iPhone client for the PusherChat-Rails example app, using libPusher
https://github.com/lukeredpath/pusherchat-iphone
Last synced: 11 months ago
JSON representation
An iPhone client for the PusherChat-Rails example app, using libPusher
- Host: GitHub
- URL: https://github.com/lukeredpath/pusherchat-iphone
- Owner: lukeredpath
- Created: 2011-08-16T08:58:47.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-08-16T08:59:00.000Z (almost 15 years ago)
- Last Synced: 2023-10-20T21:21:49.262Z (over 2 years ago)
- Language: Objective-C
- Homepage:
- Size: 447 KB
- Stars: 35
- Watchers: 4
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PusherChat for iPhone
This is a small iPhone app that demonstrates the use of the [libPusher](http://github.com/lukeredpath/libPusher) library for communicating with the [Pusher](http://pusher.com) real-time messaging service.
It acts as a client to [PusherChat-Rails](https://github.com/tarnfeld/PusherChat-Rails) app, a small example chat app written in Ruby on Rails and using Pusher for messaging.
## Building from source
You will need a running instance of [my PusherChat-Rails fork](https://github.com/lukeredpath/PusherChat-Rails). This fork adds a few extra APIs for the iPhone app.
After cloning the project, you will need to initialise all of the project submodules:
$ git submodule update --init --recursive
Finally, you'll need to create a file in the PusherChat-iPhone directory called PusherSettings.h which contains your Pusher API settings. It should look something like this:
#define kPUSHER_APP_ID 123
#define kPUSHER_API_KEY @"your-api-key"
#define kPUSHER_SECRET @"your-secret"
Finally, you may need to modify the PusherChat `kPUSHER_CHAT_SERVICE_URL` constant in the app delegate to match the running instance of PusherChat-Rails on your local machine.
At this stage, you should be good to go.