It can be hard to find complete examples with Cocoa to build web apps. Most of the tutorials available will use libraries such as ASIHttpRequest and Gdata in order to simplify the process. That’s great but there might be times when you might need to work with Cocoa’s built in classes.
Jack Herrington has written a very detailed tutorial demonstrating how to create a chat app using cocoa classes.
The tutorial goes from the ground up, building a simple server in PHP, and from there building the user interface, complete with a tableview holding all messages, an XML parser with NSXMLParser, and how to send and receive messages using various NSUrl classes.
You can find the tutorial here complete with downloadable source code:
Building An iPhone Chat App From The Ground Up
If you’ve been looking to build a chat app, or want a better understanding of Cocoa’s communication classes this is a great read.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.