iOS7 / iOS 6 / iOS 5 – Get Device Unique Identifier UDID

Following code will help you to get the unique-device-identifier known as UDID. No matter what iOS user is using, you can get the UDID of the current iOS device by following code.

MKMapView – zoom Out To view the whole World

Sometimes, in maps, you might need to display entire-world-view. Example, in case of no location found, zoom out to the world view. Following code-snip would help you to achieve the same.

Apply color to black-masked-image

In this post, I’ll illustrate how to apply color to specified black-masked-image. Please go through the code to understand implementation.

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.

Create an image using color and size supplied in arguments

In this post, I’ll illustrate how to create an image with the help of color specified and size specified. Sometimes, during development, you might need to create an image with specific color. As an example, if you wish to have … Continue reading

How to Hide All Desktop Icons in Mac OS X by command line

Hi All.!! I will show you how to  hide/show Desktop icons. Follow steps. Open terminal. paste following command into the terminal After past command enter, you need to kill the Finder so that it relaunches and the changes take effect: … Continue reading

How to Hide All Desktop Icons in Mac OS X by command line

Hi All.!! I will show you how to  hide/show Desktop icons. Follow steps. Open terminal. paste following command into the terminal After past command enter, you need to kill the Finder so that it relaunches and the changes take effect: … Continue reading

NSLog without date time stamp, application name, and process id info.

New trick that how to hide  date time stamp, application name, and process id info, when you are going to print your information through NSLogs. The NSLogs original output is

But you can modify it to more simple way:

Continue reading