An Objective-J wrapper around the strophe.js XMPP library.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Info.plist
README
README.rdoc
SRJID.j
SRJabberConnection.j
SRMessage.j
SRMyUser.j
SRObject.j
SRRoom.j
SRRoomOccupant.j
SRUser.j
b64.js
jquery-1.3.2.min.js
md5.js
sha1.js
strophe.js

README.rdoc

Strophe.j

Strophe.j is an Objective-J wrapper around the strophe.js library. It mostly offers some decoration around the more class-like aspects of strophe.js while letting strophe.js do its thing for message assembly (since the strophe message assembly syntax is wonderfully concise).

Usage

Due to some issues with importing via Objective-J's @import directive, currently you have to explicitly include the relevant scripts in your HTML page.

Add this wherever your scripts are included after putting Strophe in your Frameworks directory:

<script src = "Frameworks/Strophe/sha1.js" type = "text/javascript"></script>
<script src = "Frameworks/Strophe/md5.js" type = "text/javascript"></script>
<script src = "Frameworks/Strophe/b64.js" type = "text/javascript"></script>
<script src = "Frameworks/Strophe/jquery-1.3.2.min.js" type = "text/javascript"></script>
<script src = "Frameworks/Strophe/strophe.js" type = "text/javascript"></script>

Then, you can @import any Strophe files regularly (e.g., @import <Strophe/SRJabberConnection.j>) and go from there.