After the huge success of the first control I submitted to CocoaControls, MKInfoPanel, I altered it to make it behave like a input panel. MKEntryPanel shows a semi full screen window similar to the UISearchBarController. You can dismiss it by tapping anywhere else. Demo Here is a quick 30 sec demo of the Entry panel in action. Code The source code is available at github. Pick it up, clone it or do whatever you want from...
Read MoreiOS Code: TweetBot like AlertPanels
TweetBot is sexy, no one can deny it. One of the coolest aspect of TweetBot is the unobtrusive panels that show what is happening on the app. Some apps like Reeder have resorted to HUDs. The problem with HUDs are that, they are shown on a different “z-index” and human eye has to shift the focus to read what’s on it. For the same reason, HUDs feel a bit disconnected from the UI which could be why on both iOS and Mac, Apple...
Read MoreObjective-C Singleton Template for XCode 4
Update:Nov 7th 2011: Get the latest ARC compatible template from the Attachments section With XCode 4, Apple has made some changes to the template subsystem as such none of the old templates that worked on XCode 3 will work automatically. After spending a couple of hours, I managed to figure out the differences and fortunately, the new template subsystem is more cleaner than XCode 3. The Singleton template I created last year is now...
Read MoreIntroducing MKStoreKit – Version 3
Update 4: (8th July 2011) MKStoreKit 4.0, an updated version of the one presented here is available. Please check it out and use 4.0 instead of this. Around last year this time, I wrote a singleton class, MKStoreKit, and a blog post, wrapping Apple’s StoreKit framework and it has been quite popular. From the email responses I receive, I could say, it’s been in use in more than thousands of apps on the AppStore. It has been very...
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 More