In iOS 5, Apple introduced tighter twitter integration with Twitter.framework and Accounts.framework. Most of the latest “social” apps out there use some kind of frameworks to send out tweets from their app. With iOS 5, you no longer need to build your code against all these frameworks. iOS 5′s built in Twitter.framework manages most of these issues automatically. In this tutorial, we will go through how to use the...
Read MorePorting iPhone/iOS apps to Windows Phone
Few days ago, I wrote a post on my review on Windows Phone. While I have been a Microsoft basher (no not really), Windows Phone is one product that surprised me (and I think most other bloggers as well) and took the smart phone UI to the next level. While Microsoft has been known to make killer user interfaces like Microsoft Fluent UI aka Ribbon, and the famous Start Menu on Windows 95, they haven’t been doing much recently. While...
Read MoreiPhone Tutorial: Authenticating with a RESTful service using NSURLCredential
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 – Add Gravatar Support for your App
Gravatar, globally recognized avatar is an platform (web application?) by Automattic, creators of the blogging platform WordPress. The idea behind gravatar is to associate a picture to a person using his email address. As email addresses are increasingly becoming a way to identify yourself, some commenting platforms use Gravatar APIs to display an icon using the email address you give them. The Gravatar API is ridiculously simple that, all...
Read MoreiPhone Tutorial: Display WebPages within your App using this drop dead Simple XIB file
How many lines of code do you have to write for displaying a webpage ‘in-app”. 3 methinks. Wouldn’t be great if there is a built in class for presenting a webpage using “presentModalViewController”? Meet MKWebViewController. Step 1: Drop the attached three files into your project and write the following three lines on your action callback (buttonDidTap) or equivalent methods MKWebViewController *controller =...
Read More