In this RESTful world, access to any modern data-rich website is restricted with some kind of authentication mechanism. Several known open authentication mechanisms used on Web are HTTP Basic (RFC 1945) and HTTP Digest authentication (RFC 2617). While discussing Basic or Digest itself is a separate blog post, or a lengthy boring Wikipedia article, coding it in Objective C is not. No, I’m not talking about ASIHTTPRequest. While ASI is...
Read MoreiPhone Tutorial: Authenticating with a RESTful service using NSURLCredential
bit.ly wrapper for Objective-C/iPhone
Continuing from my part 1, in this section, we will discuss about how to use this helper in your own application. Source Code Download the source code here MKBitlyHelper 1.0.zip Documentation With just three lines of code, you can shorten your URL using this wrapper. Initialize the helper class with your loginname and apikey. bitlyHelper = [[MKBitlyHelper alloc] initWithLoginName:@"yourlogin"...
Read MoreConsuming a RESTful Service (bit.ly) in an iPhone Application
bit-ly-rest-api-objective-c Introduction Of late, many programmers who develop for Windows/Linux have moved to iPhone because of it's runaway success. Among the most successful apps on the Apple AppStore, first comes games (yeah I can hear you, fart apps!!!). Next comes apps like Tweetie and others those consume a web service (REST or otherwise). Games are pretty difficult get started especially if you aren't a game programmer. However,...
Read More