Take screen-shot of current-application-window

In this post, I’ll illustrate how to take screen-shot of the current-app-window. Please go through the code to understand the snip or just grab it & paste it in your code.

Detecting iPhone 5

iphone 5 sugartin xcode detect

Attempt to check if the current device is an iPhone 5 at runtime. The most advanced version of this I’ve found is from this answer on StackOverflow. The following is a slightly modified version of the macros created in the StackOverflow … Continue reading

Custom Range Slider Component to Pick Range


In this tutorial, I will describe the two sliders were used to configure the minimum and maximum parameters of a setting. In most of the cases, Application may need to select data between some values for that extended features use and … Continue reading

Protocols and Delegates


Introduction Protocols can be helpful in a number of scenarios, a common usage is to define methods that are to be implemented by other classes. A familiar example is when using a tableview, your class implements the cellForRowAtIndexPath method which … Continue reading

Simple RSS reader and parse them display into UITableview

With this I’m assuming you have a bit of familiarity with the iPhone SDK.We’re going to build an RSS feed reader for a simple feed.Let’s get started step 1: Open Xcode and choose the “File” menu, in which you’ll click … Continue reading