Archives Contact AlternateIdea July 11th, 2009 Introducing HTTPRiot - Easily Consume REST Resources on the iPhone and OS X 2 comments on 1754 words If you’ve ever tried to do networking with Foundation you know that wrestling with NSURLConnection and NSURLRequest can be painful. Thankfully, we’ve seen a few third party tools step up to alleviate some of this pain. I want to introduce you to a couple of those tools and show you what I’ve been working on as well. UPDATED: Fixed the permission issue on the download link The current crop of tools There are some excellent HTTP libraries available for the iPhone and OS X. So why do we need another one? Balance. There are two particularly popular libraries that I’m going to talk about: ASIHTTPRequest and ObjectiveResource. I’ll explain the benefits and tradeoffs of each and also explain where HTTPRiot fits in to this equation. ASIHTTPRequest ASIHTTPRequest is a highly flexible lower level tool (relative to HTTPRiot & ObjectiveResource).
HomeAbout Switching from scripting languages to Objective C and iPhone: useful libraries January 26th, 2009 | Published in iphone | 2 Comments For the last few months I’ve been spending much of my spare hacking time learning to code iPhone applications. I’ve found Objective C to be a surprisingly pleasant language, and Cocoa is one of the best frameworks I’ve ever worked with. I’ve reached a point where I feel I can go fairly quickly from simple app ideas to sketching in real code. I’m a web developer at heart, and a scripting language user by preference. Coding for the iPhone doesn’t feel as fluid in text handling or HTTP access as the environments I’m used to. Fortunately I’ve been able to find some fantastic open-source libraries and wrappers that make up the difference. Here are my favourites so far: GTMHTTPFetcher from Google Toolbox for Mac The iPhone’s native HTTP handling is capable, but low-level and verbose. Rather than handling the many callbacks, NSData objects and
Aside from Safari MacApper looks best in Firefox with Google Toolbar | We have full page feeds on tap here! Blog Archives Forums Happenings Advertise Staff Contact 23 Beginners Guide: Programming Cocoa for OS X September 16th, 2007 at 6:03 am by Doc Lo