I’ve just uploaded some code derived from the Objective-C wrapper I’ve shown in this post. You can find it in the “Projects” section, as usual and it’s simply a wrapper around the URL loading system of Cocoa, both for Macs and iPhones, providing a custom delegate protocol, so that you can handle the events raised by the wrapper:
The sample project, available in the zip file, shows how a simple Cocoa controller can interact with the Wrapper class as required. Enjoy!
Update, 2008-10-26: After a bug report from StuFF mc I’ve updated the code for a better support of POST and PUT requests, and also added a sample PHP file for a quick test of the functionalities.
3 Comments
#1. Jeff 11.17.2008
On your projects page, you mention that your RestWrapper was tested on the iPhone. Is it possible for you to post that iphone xcode project?
Thanks,
Jeff
#2. Adrian 11.18.2008
Hi Jeff, as soon as I can I will post a sample iPhone project (now we can!! :) using this class. Good idea!
Thanks!
#3. Adrian 11.18.2008
Hiya Jeff, I’ve just uploaded a very simple iPhone app which does the same (almost with the same interface) than the Leopard one. To be found in the projects page referenced in the post. Enjoy! :)
Commenting