WebSockets client for Objective-C (preferably iOS compatible) - iphone

Closest thing I've found is How to incorporate WebSockets into a Cocoa application, but the answers only pointed to an outdated library.
Does anyone know about a WebSockets library compatible with iOS 4.x?
I've also read about Pusherapp, and, as good as the service could be, I would prefer to use my own WebSockets server.

You can check out the UnitT Web Socket Client. It is intended for use in iOS apps using Objective-C. It works with both ws & wss.
I am the author and have been using it in some of my projects with success. Let me know if you run into any trouble and I will do what I can to help.

Found this post in a google search for iOS WebSockets and wanted to put an updated answer.
Anyways, Zimt and Unitt's client don't support the latest standard (at the time of writing this).
(disclaimer: author of SocketRocket)
We just released a new library that has no external dependencies, supports RFC 6455 completely, and works with iOS 4.x+.
It's called SocketRocket and can be found here

You could make a web application using one of several Cocoa-like libraries and then convert it to a native app using something like PhoneGap/Apache Cordova.
Cappuccino - Make webapps using Objective-J and Cocoa-like API.
WebSockets for Cappuccino
SproutCore - Apple's Cocoa for the web
Toth - a multi-user SproutCore library that uses WebSockets.
For the server side there are lots of options. Just search for "websockets server" on github.com.

I created a package for iOS/Objective-C and TLS taking into account the new iOS13 TLS restrictions. It works with a NodeJS TLS server how I use it. Hope it helps, feel free to contribute.
https://github.com/eamonwhiter73/IOSObjCWebSockets

Related

PhoneGap mobile irc client app using native tcp sockets, websockets?

Hi I would like to know if it possible to realize an iOS/Android irc client app using PhoneGap.
I think I am going to need to use native tcp sockets: does anybody know if PhoneGap allow me to make use of them? I checked the api doc but for some reason couldn't find the part dealing with it?
Also, if PhoneGap supports websockets, is it a feasible option to use that for this kind of app?
I'd like to have some kind of basic advice on wheter or not I am on a good path.
I'm also thinking of using Rhomobile, (for which I have the same doubts I said above, though I did not investigate enough) but for now I would like to go with PhoneGap because it also says to support Symbian devices, while Rhomobile discontinued support for it.

iPhone chat functionality

i want to implement a chat functionality between two iOS devices.Please suggest me some libraries for the same.I went for XMPP but code is not available for that on repository.
Thanks,
You visit tutorial by RayWenderlich. Part1 and Part2. In this tutorial he has explained how to use webservice and PushNotification for chat kind of functionality.
You can also check Scringo. It's SDK offers chat between your app users.
Have you considered using push notifications?
You could use a service like Urban Airship so you don't have to roll your own push server, and they provide a pretty comprehensive iOS Framework which you could use to take advantage of their services.
You would of course still need some way of tracking who was talking with who so there would need to be some work on your part to build the necessary intermediary software/API, although this should be a pretty trivial task since all you'd need to do is keep a record of each of the device tokens in the conversation.
XMPP is still alive.. A newer version also came up...
You can download Version 2 directly here
To download Version 3 you have to download and install Mercurial repository and download it running this hg clone on the Mac Terminal...

Need an iOS library or framework for iPhone to Ruby on Rails API interaction

I'm looking into iOS libraries and/or frameworks that I can pull into a current project to interact with a Ruby on Rails API.
I was going to go with ObjectiveResource aka iPhone-On-Rails (http://iphoneonrails.com/) because of its ease of use, but it seems like there hasn't been any development on it since 2009.
Do any of you know of a better alternative to ObjectiveResource? I would like something that is well supported and maintained with good documentation.
Thanks in advance!
Well, interacting with Rails is simply interacting with a REST API.
That said, here is a very popular asset you should look at: http://restkit.org/

iphone connection with openerp

Greetings,
I am thinking of getting an application in iPhone to establish connection with a application server to collects its contact details and then sync it with our address book.
Anyone could direct me in the direction i have to take to achieve this target. And the things i have to look up.
You must, first of all, start with a XML-RPC library for iPhone. That is not implemented yet in the iOS core sdk. A good starting point is the open source application developed from wordpress that contain a xml-rpc library. Then you can play with the method from within this application, calling specific opener methods.
This is the link to download wordpress for iOS: http://ios.wordpress.org/development/
Someone is working on a mobile client for OpenERP, but I don't know if there are any plans for iPhone specifically.
If you want to build your own, I suggest you look at the OpenERP developer book's section on web services. You can send XML-RPC requests to the server to do anything the regular client can do. The XML-RPC layer is basically a wrapper around the ORM methods.

Are there any other SIP implementations for iPhone besides Siphon?

I'm trying to build a SIP app for iPhone 4 (iOS 4.2).
Tried to use siphon, but no success (IOKit.framework is missing from the sdk, libg729a.a is also missing).
Is there any other way to implement SIP for iPhone?
Check out pjsip, and their iPhone Getting Started Guide. Siphon uses it too, but hasn't been updated for quite a while (which explains the build issues with the new SDKs.)
If what you are looking for is a pure SIP stack, then we are licensing a commercial one for customers: http://www.radvision.com/Products/Developer/VoIP-Developer-Tools/SIP-Developer-Suite/